ci: Only have one task for susfsd irrespective of the target architecture (#395)

This commit is contained in:
Trijal Saha
2025-05-18 12:49:39 -04:00
committed by GitHub
parent e5a495489d
commit aaca0b5283
6 changed files with 29 additions and 126 deletions

View File

@@ -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