Skip to content

Commit

Permalink
action: build and test modder for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KuhakuPixel committed Mar 8, 2024
1 parent cc46393 commit 4db0afc
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
working-directory: ./ACE/build
run: ./test/test_ace -s

Modder:
Modder-linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand All @@ -62,6 +62,37 @@ jobs:
working-directory: ./Modder
# only build no testing
run: ./gradlew test
Modder-windows:
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
with:
submodules: "true"

- uses: actions/setup-python@v5
with:
python-version: '3.10'

- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'

- name: generating code for injection
working-directory: ./Modder/injector
run: python3 ./gen_smali.py

- name: build
working-directory: ./Modder
# only build no testing
run: gradlew build -x test

- name: test
working-directory: ./Modder
# only build no testing
run: gradlew test



ATG:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 4db0afc

Please sign in to comment.