2022-03-09 17:22:22 +00:00
|
|
|
name: Build Kernel
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
paths:
|
2022-12-04 19:58:11 +00:00
|
|
|
- '.github/workflows/check-kernel-patches.yml'
|
|
|
|
- '.github/workflows/build.yml'
|
2022-08-07 16:18:40 +00:00
|
|
|
- '.github/workflows/kernel.yml'
|
2022-10-19 21:02:43 +00:00
|
|
|
- 'include/kernel*'
|
2022-03-09 17:22:22 +00:00
|
|
|
- 'package/kernel/**'
|
2023-01-20 14:13:21 +00:00
|
|
|
- 'target/linux/**'
|
2022-10-08 17:25:54 +00:00
|
|
|
push:
|
|
|
|
paths:
|
2022-12-04 19:58:11 +00:00
|
|
|
- '.github/workflows/check-kernel-patches.yml'
|
|
|
|
- '.github/workflows/build.yml'
|
2022-10-08 17:25:54 +00:00
|
|
|
- '.github/workflows/kernel.yml'
|
2022-10-19 21:02:43 +00:00
|
|
|
- 'include/kernel*'
|
2022-10-08 17:25:54 +00:00
|
|
|
- 'package/kernel/**'
|
2023-01-10 22:20:07 +00:00
|
|
|
- 'target/linux/**'
|
2023-05-25 11:52:03 +00:00
|
|
|
branches-ignore:
|
|
|
|
- master
|
2022-09-19 10:20:37 +00:00
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2023-01-11 12:52:38 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
|
2022-03-09 17:22:22 +00:00
|
|
|
jobs:
|
2023-06-19 11:55:32 +00:00
|
|
|
build-kernels:
|
|
|
|
name: Build all affected Kernels
|
2022-11-01 18:10:01 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
packages: read
|
2023-05-28 00:55:26 +00:00
|
|
|
actions: write
|
2023-05-30 16:57:42 +00:00
|
|
|
secrets:
|
2023-08-04 23:55:11 +00:00
|
|
|
ccache_s3_access_key: ${{ secrets.CCACHE_S3_ACCESS_KEY }}
|
|
|
|
ccache_s3_secret_key: ${{ secrets.CCACHE_S3_SECRET_KEY }}
|
2023-06-19 11:55:32 +00:00
|
|
|
uses: openwrt/actions-shared-workflows/.github/workflows/kernel.yml@main
|