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