Skip to content

Commit

Permalink
workflows: debloat
Browse files Browse the repository at this point in the history
as HuaPeng suggested https://t.me/KernelSU_group/3249/306894
>This is my changes to actions
>changhuapeng@bcf0fa1

Co-Authored-By: changhuapeng <[email protected]>
  • Loading branch information
backslashxx and changhuapeng committed Oct 29, 2024
1 parent 8475bfa commit 223d060
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 37 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/build-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Manager

on:
push:
branches: [ "main", "ci" ]
branches: [ "main", "ci", "test" ]
paths:
- '.github/workflows/build-manager.yml'
- 'manager/**'
Expand All @@ -13,35 +13,24 @@ on:
paths:
- 'manager/**'
workflow_call:
workflow_dispatch:

jobs:
build-lkm:
uses: ./.github/workflows/build-lkm.yml
secrets: inherit

build-ksud:
needs: build-lkm
strategy:
matrix:
include:
- target: aarch64-linux-android
os: ubuntu-latest
- target: x86_64-linux-android
os: ubuntu-latest
- target: x86_64-pc-windows-gnu # windows pc
os: ubuntu-latest
- target: x86_64-apple-darwin # Intel mac
os: macos-latest
- target: aarch64-apple-darwin # M chip mac
os: macos-latest
- target: aarch64-unknown-linux-musl # arm64 Linux
os: ubuntu-latest
- target: x86_64-unknown-linux-musl # x86 Linux
os: ubuntu-latest
uses: ./.github/workflows/ksud.yml
with:
target: ${{ matrix.target }}
os: ${{ matrix.os }}
pack_lkm: false

build-manager:
needs: build-ksud
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,32 +9,9 @@ jobs:
build-manager:
uses: ./.github/workflows/build-manager.yml
secrets: inherit
build-a12-kernel:
uses: ./.github/workflows/build-kernel-a12.yml
secrets: inherit
build-a13-kernel:
uses: ./.github/workflows/build-kernel-a13.yml
secrets: inherit
build-a14-kernel:
uses: ./.github/workflows/build-kernel-a14.yml
secrets: inherit
build-a15-kernel:
uses: ./.github/workflows/build-kernel-a15.yml
secrets: inherit
build-wsa-kernel:
uses: ./.github/workflows/build-kernel-wsa.yml
secrets: inherit
build-arcvm-kernel:
uses: ./.github/workflows/build-kernel-arcvm.yml
secrets: inherit
release:
needs:
- build-manager
- build-a12-kernel
- build-a13-kernel
- build-a14-kernel
- build-wsa-kernel
- build-arcvm-kernel
runs-on: ubuntu-latest
steps:
- name: Download artifacts
Expand Down

0 comments on commit 223d060

Please sign in to comment.