Skip to content

Commit

Permalink
Build manager with pre-built LKMs (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
PuerNya authored Dec 5, 2024
1 parent ee7c086 commit d56711c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ on:
workflow_call:

jobs:

build-ksud:
strategy:
matrix:
Expand All @@ -27,7 +26,7 @@ jobs:
with:
target: ${{ matrix.target }}
os: ${{ matrix.os }}
pack_lkm: false
pack_lkm: true

build-manager:
needs: build-ksud
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/ksud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,18 @@ jobs:
with:
fetch-depth: 0

- name: Download artifacts
uses: actions/download-artifact@v4

- name: Download Pre-built LKMs
if: ${{ inputs.pack_lkm }}
uses: actions/checkout@v4
with:
ref: lkm
path: lkm

- name: Prepare LKM fies
if: ${{ inputs.pack_lkm }}
run: |
cp android*-lkm/*_kernelsu.ko ./userspace/ksud/bin/aarch64/
cp lkm/*_kernelsu.ko ./userspace/ksud/bin/aarch64/
- name: Setup rustup
run: |
rustup update stable
Expand Down

0 comments on commit d56711c

Please sign in to comment.