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: added build-susfs
This commit is contained in:
40
.github/workflows/build-susfs.yml
vendored
Normal file
40
.github/workflows/build-susfs.yml
vendored
Normal file
@@ -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*
|
||||||
|
|
||||||
Reference in New Issue
Block a user