-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite Github workflows and create linux headers debpkg release (#13)
* Rewrite Github workflows and create linux headers debpkg release * Use cache in rootfs workflow only if use-cached is set * Use cache in build workflow only if use-cached is true
- Loading branch information
Showing
8 changed files
with
534 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build and Test All | ||
on: | ||
push: | ||
branches: | ||
- main | ||
path: | ||
- '*' | ||
- '!**/*.md' | ||
pull_request: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/build.yml | ||
strategy: | ||
matrix: | ||
kernel: [{ack: 0, version: 5.10.y}, {ack: 0, version: 5.15.y}, {ack: 0, version: 6.1.y}, {ack: 0, version: 6.6.y}, {ack: 1, version: android13-5.10-lts}, {ack: 1, version: android14-5.15-lts}] | ||
arch: [arm64, x86_64] | ||
with: | ||
host-os: ubuntu-20.04 | ||
ack: ${{ matrix.kernel.ack }} | ||
arch: ${{ matrix.arch }} | ||
version: ${{ matrix.kernel.version }} | ||
|
||
rootfs: | ||
uses: ./.github/workflows/rootfs.yml | ||
strategy: | ||
matrix: | ||
arch: [arm64, x86_64] | ||
with: | ||
host-os: ubuntu-22.04 | ||
arch: ${{ matrix.arch }} | ||
use-cached: true | ||
|
||
build-and-test: | ||
uses: ./.github/workflows/build-and-test.yml | ||
needs: rootfs | ||
strategy: | ||
matrix: | ||
kernel: [{ack: 0, version: 5.10.y}, {ack: 0, version: 5.15.y}, {ack: 0, version: 6.1.y}, {ack: 0, version: 6.6.y}, {ack: 1, version: android13-5.10-lts}, {ack: 1, version: android14-5.15-lts}] | ||
arch: [arm64, x86_64] | ||
with: | ||
host-os: ubuntu-22.04 | ||
ack: ${{ matrix.kernel.ack }} | ||
arch: ${{ matrix.arch }} | ||
version: ${{ matrix.kernel.version }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Build And Test | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
host-os: | ||
required: false | ||
type: choice | ||
options: | ||
- ubuntu-22.04 | ||
- ubuntu-20.04 | ||
default: ubuntu-22.04 | ||
ack: | ||
required: true | ||
type: choice | ||
options: | ||
- '0' | ||
- '1' | ||
arch: | ||
required: true | ||
type: choice | ||
options: | ||
- x86_64 | ||
- arm64 | ||
version: | ||
required: true | ||
type: string | ||
use-cached: | ||
required: false | ||
type: boolean | ||
default: false | ||
workflow_call: | ||
inputs: | ||
host-os: | ||
required: false | ||
type: string | ||
default: ubuntu-22.04 | ||
ack: | ||
required: true | ||
type: string | ||
arch: | ||
required: true | ||
type: string | ||
version: | ||
required: true | ||
type: string | ||
use-cached: | ||
required: false | ||
type: boolean | ||
default: false | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/build.yml | ||
with: | ||
host-os: ${{ inputs.host-os }} | ||
ack: ${{ inputs.ack }} | ||
arch: ${{ inputs.arch }} | ||
version: ${{ inputs.version }} | ||
use-cached: ${{ inputs.use-cached }} | ||
|
||
test: | ||
uses: ./.github/workflows/test.yml | ||
needs: build | ||
with: | ||
ack: ${{ inputs.ack }} | ||
arch: ${{ inputs.arch }} | ||
version: ${{ inputs.version }} | ||
artifact-dir: ${{ needs.build.outputs.artifact-dir }} | ||
kernel-image-name: ${{ needs.build.outputs.kernel-image-name }} | ||
suffix: ${{ needs.build.outputs.suffix }} |
Oops, something went wrong.