Skip to content

Commit

Permalink
Add builds.sr.ht files
Browse files Browse the repository at this point in the history
  • Loading branch information
williewillus committed May 28, 2022
1 parent 9bd10e4 commit 2726d52
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .builds/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image: debian/bullseye
packages:
- npm
sources:
- https://git.sr.ht/~williewillus/patchouli
tasks:
# bullseye comes with old npm/node which doesn't have corepack yet
# install it, which will add a yarn executable into ~/node_modules/.bin/
- install_corepack: |
npm install corepack
- install_deps: |
cd patchouli/web && ~/node_modules/.bin/yarn install --frozen-lockfile
- build: |
cd patchouli/web && ~/node_modules/.bin/yarn build
10 changes: 10 additions & 0 deletions .builds/java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
image: debian/bullseye
packages:
- openjdk-17-jdk-headless
sources:
- https://git.sr.ht/~williewillus/patchouli
tasks:
- build: |
cd patchouli && ./gradlew pmdMain spotlessJavaCheck build
- test: |
cd patchouli && ./gradlew :Fabric:runGameTest

0 comments on commit 2726d52

Please sign in to comment.