Build manager with pre-built LKMs (#4)

This commit is contained in:
PuerNya
2024-12-05 23:14:49 +08:00
committed by 5ec1cff
parent c0477a6178
commit dbe8902b3c
2 changed files with 10 additions and 7 deletions

View File

@@ -14,7 +14,6 @@ on:
workflow_call: workflow_call:
jobs: jobs:
build-ksud: build-ksud:
strategy: strategy:
matrix: matrix:
@@ -27,7 +26,7 @@ jobs:
with: with:
target: ${{ matrix.target }} target: ${{ matrix.target }}
os: ${{ matrix.os }} os: ${{ matrix.os }}
pack_lkm: false pack_lkm: true
build-manager: build-manager:
needs: build-ksud needs: build-ksud

View File

@@ -25,13 +25,17 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Download artifacts - name: Download Pre-built LKMs
uses: actions/download-artifact@v4 if: ${{ inputs.pack_lkm }}
uses: actions/checkout@v4
with:
ref: lkm
path: lkm
- name: Prepare LKM fies - name: Prepare LKM fies
if: ${{ inputs.pack_lkm }} if: ${{ inputs.pack_lkm }}
run: | run: |
cp android*-lkm/*_kernelsu.ko ./userspace/ksud/bin/aarch64/ cp lkm/*_kernelsu.ko ./userspace/ksud/bin/aarch64/
- name: Setup rustup - name: Setup rustup
run: | run: |