Skip to content

Commit 2726d52

Browse files
committed
Add builds.sr.ht files
1 parent 9bd10e4 commit 2726d52

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.builds/docs.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
image: debian/bullseye
2+
packages:
3+
- npm
4+
sources:
5+
- https://git.sr.ht/~williewillus/patchouli
6+
tasks:
7+
# bullseye comes with old npm/node which doesn't have corepack yet
8+
# install it, which will add a yarn executable into ~/node_modules/.bin/
9+
- install_corepack: |
10+
npm install corepack
11+
- install_deps: |
12+
cd patchouli/web && ~/node_modules/.bin/yarn install --frozen-lockfile
13+
- build: |
14+
cd patchouli/web && ~/node_modules/.bin/yarn build

.builds/java.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
image: debian/bullseye
2+
packages:
3+
- openjdk-17-jdk-headless
4+
sources:
5+
- https://git.sr.ht/~williewillus/patchouli
6+
tasks:
7+
- build: |
8+
cd patchouli && ./gradlew pmdMain spotlessJavaCheck build
9+
- test: |
10+
cd patchouli && ./gradlew :Fabric:runGameTest

0 commit comments

Comments
 (0)