Make CI faster

This commit is contained in:
topjohnwu 2024-08-14 00:21:45 -07:00
parent b8140ad4e6
commit e64f59ce5b
2 changed files with 5 additions and 4 deletions

1
.github/ci.prop vendored Normal file
View File

@ -0,0 +1 @@
abiList=arm64-v8a

View File

@ -17,7 +17,7 @@ on:
jobs: jobs:
build: build:
name: Build Magisk artifacts name: Build Magisk artifacts
runs-on: ubuntu-latest runs-on: macos-14
env: env:
SCCACHE_DIRECT: false SCCACHE_DIRECT: false
strategy: strategy:
@ -63,7 +63,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
os: [windows-latest, macos-14] os: [windows-latest, ubuntu-latest]
steps: steps:
- name: Check out - name: Check out
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -74,8 +74,8 @@ jobs:
- name: Setup environment - name: Setup environment
uses: ./.github/actions/setup uses: ./.github/actions/setup
- name: Build debug - name: Test build
run: python build.py -v all run: python build.py -v -c .github/ci.prop all
- name: Stop gradle daemon - name: Stop gradle daemon
run: ./gradlew --stop run: ./gradlew --stop