You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
ci: Only have one task for susfsd irrespective of the target architecture (#395)
This commit is contained in:
34
.github/workflows/build-manager-ci.yml
vendored
34
.github/workflows/build-manager-ci.yml
vendored
@@ -23,32 +23,18 @@ jobs:
|
||||
# uses: ./.github/workflows/build-lkm.yml
|
||||
# secrets: inherit
|
||||
|
||||
build-susfsd-aarch64:
|
||||
build-susfsd:
|
||||
# needs: build-lkm
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- target: aarch64-linux-android
|
||||
os: ubuntu-latest
|
||||
uses: ./.github/workflows/susfsd-aarch64.yml
|
||||
- os: ubuntu-latest
|
||||
uses: ./.github/workflows/susfsd.yml
|
||||
with:
|
||||
target: ${{ matrix.target }}
|
||||
os: ${{ matrix.os }}
|
||||
|
||||
build-susfsd-arm:
|
||||
needs: build-susfsd-aarch64
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
- target: armv7-linux-androideabi
|
||||
os: ubuntu-latest
|
||||
uses: ./.github/workflows/susfsd-arm.yml
|
||||
with:
|
||||
target: ${{ matrix.target }}
|
||||
os: ${{ matrix.os }}
|
||||
|
||||
build-ksud:
|
||||
needs: build-susfsd-arm
|
||||
needs: build-susfsd
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
@@ -104,16 +90,10 @@ jobs:
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
|
||||
- name: Download arm64 susfsd
|
||||
- name: Download susfsd
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: susfsd-aarch64-linux-android
|
||||
path: .
|
||||
|
||||
- name: Download arm susfsd
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: susfsd-armv7a-linux-androideabi
|
||||
name: susfsd-linux-android
|
||||
path: .
|
||||
|
||||
- name: Copy susfsd to app jniLibs
|
||||
@@ -210,4 +190,4 @@ jobs:
|
||||
APK=$(find ./app/build/outputs/apk/release -name "*.apk")
|
||||
pip3 install telethon
|
||||
python3 $GITHUB_WORKSPACE/scripts/ksunextbot.py $APK
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user