From b8f80a2742be1cba37c8f075e6178ef92726cb88 Mon Sep 17 00:00:00 2001 From: Rifat Azad Date: Tue, 24 Dec 2024 00:28:28 +0600 Subject: [PATCH] ci: added build-susfs --- .github/workflows/build-susfs.yml | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/build-susfs.yml diff --git a/.github/workflows/build-susfs.yml b/.github/workflows/build-susfs.yml new file mode 100644 index 00000000..6c7f2b1a --- /dev/null +++ b/.github/workflows/build-susfs.yml @@ -0,0 +1,40 @@ +name: Build SuSFS +on: + push: + branches: [ "next" ] + paths: + - '.github/workflows/build-susfs.yml' + - 'userspace/susfs/**' + workflow_dispatch: + workflow_call: + inputs: + target: + required: true + type: string + os: + required: false + type: string + default: ubuntu-latest +jobs: + build-su: + name: Build userspace susfs + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Build su + working-directory: ./userspace/susfs + run: $ANDROID_NDK/ndk-build + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4 + with: + name: susfs + path: ./userspace/susfs/libs + + - name: Upload ksud artifact + uses: actions/upload-artifact@v4 + with: + name: susfs-${{ inputs.target }} + path: userspace/susfs/libs/**/susfs* +