d4d3565cd70b3d481dd6f5656aa28e2554fc71b8
[openwrt/staging/hauke.git] / .github / workflows / packages.yml
1 name: Build all core packages
2
3 on:
4 pull_request:
5 paths:
6 - '.github/workflows/build.yml'
7 - '.github/workflows/packages.yml'
8 - 'config/**'
9 - 'include/**'
10 - 'package/**'
11 - 'target/linux/generic/**'
12 - 'toolchain/**'
13 push:
14 paths:
15 - '.github/workflows/build.yml'
16 - '.github/workflows/packages.yml'
17 - 'config/**'
18 - 'include/**'
19 - 'package/**'
20 - 'target/linux/generic/**'
21 - 'toolchain/**'
22 branches-ignore:
23 - master
24
25 permissions:
26 contents: read
27
28 concurrency:
29 group: ${{ github.workflow }}-${{ github.ref }}
30 cancel-in-progress: ${{ github.event_name == 'pull_request' }}
31
32 jobs:
33 build:
34 name: Build Packages with external toolchain
35 permissions:
36 contents: read
37 packages: read
38 strategy:
39 fail-fast: False
40 matrix:
41 include:
42 - target: malta
43 subtarget: be
44 - target: x86
45 subtarget: 64
46 uses: ./.github/workflows/build.yml
47 with:
48 container_name: toolchain
49 target: ${{ matrix.target }}
50 subtarget: ${{ matrix.subtarget }}
51 build_kernel: true
52 build_all_kmods: true
53 build_all_modules: true
54 build_full: true
55