@@ -11,9 +11,17 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Set up cache
id: cache
uses: actions/cache@v2
with:
path: ~/.m2/repository/org/toktok
key: from-src-${{ hashFiles('scripts/**') }}
- name: Install tox4j dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: sudo apt install yasm
- name: Build tox4j
if: steps.cache.outputs.cache-hit != 'true'
run: |
./scripts/build-host -j$(nproc || sysctl -n hw.ncpu)
./scripts/build-aarch64-linux-android -j$(nproc || sysctl -n hw.ncpu) release