From e64f59ce5bf1d5b57ffd583df779499b7d72a1c4 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Wed, 14 Aug 2024 00:21:45 -0700 Subject: [PATCH] Make CI faster --- .github/ci.prop | 1 + .github/workflows/build.yml | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .github/ci.prop diff --git a/.github/ci.prop b/.github/ci.prop new file mode 100644 index 000000000..58564d3ab --- /dev/null +++ b/.github/ci.prop @@ -0,0 +1 @@ +abiList=arm64-v8a diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 03fc2efde..af2c14560 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ on: jobs: build: name: Build Magisk artifacts - runs-on: ubuntu-latest + runs-on: macos-14 env: SCCACHE_DIRECT: false strategy: @@ -63,7 +63,7 @@ jobs: strategy: fail-fast: false matrix: - os: [windows-latest, macos-14] + os: [windows-latest, ubuntu-latest] steps: - name: Check out uses: actions/checkout@v4 @@ -74,8 +74,8 @@ jobs: - name: Setup environment uses: ./.github/actions/setup - - name: Build debug - run: python build.py -v all + - name: Test build + run: python build.py -v -c .github/ci.prop all - name: Stop gradle daemon run: ./gradlew --stop