CI: Extract the OpenWrt building to own sub workflow
[openwrt/openwrt.git] / .github / workflows / packages.yml
1 name: Build all core packages
2
3 on:
4 pull_request:
5 paths:
6 - '.github/workflows/packages.yml'
7 - 'config/**'
8 - 'include/**'
9 - 'package/**'
10 - 'target/linux/generic/**'
11 - 'toolchain/**'
12 push:
13 paths:
14 - '.github/workflows/packages.yml'
15 - 'config/**'
16 - 'include/**'
17 - 'package/**'
18 - 'target/linux/generic/**'
19 - 'toolchain/**'
20
21 permissions:
22 contents: read
23
24 jobs:
25 build:
26 permissions:
27 contents: read
28 packages: read
29 strategy:
30 fail-fast: False
31 matrix:
32 include:
33 - target: malta/be
34 - target: x86/64
35 uses: ./.github/workflows/build.yml
36 with:
37 target: ${{ matrix.target }}
38 build_all_kmods: true
39 build_all_modules: true
40 build_full: true
41