mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
be3b061d7b
Since kernel and packages workflow now use a shared build workflow, they
also need to react on changes on these shared workflow.
Fix this and add these shared workflow to the event paths to check.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 644175c29c
)
44 lines
874 B
YAML
44 lines
874 B
YAML
name: Build all core packages
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/build.yml'
|
|
- '.github/workflows/packages.yml'
|
|
- 'config/**'
|
|
- 'include/**'
|
|
- 'package/**'
|
|
- 'target/linux/generic/**'
|
|
- 'toolchain/**'
|
|
push:
|
|
paths:
|
|
- '.github/workflows/build.yml'
|
|
- '.github/workflows/packages.yml'
|
|
- 'config/**'
|
|
- 'include/**'
|
|
- 'package/**'
|
|
- 'target/linux/generic/**'
|
|
- 'toolchain/**'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
strategy:
|
|
fail-fast: False
|
|
matrix:
|
|
include:
|
|
- target: malta/be
|
|
- target: x86/64
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
target: ${{ matrix.target }}
|
|
build_all_kmods: true
|
|
build_all_modules: true
|
|
build_full: true
|
|
|