mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-27 22:59:53 +00:00
e74479d559
Extract the building of OpenWrt into an own workflow which is then triggered by the kernel.yml and packages.yml workflow with different inputs. This allows us to share much of the code of the workflow. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 7c406a5f0837b0bfc293b723932695176a8ef6fe)
42 lines
798 B
YAML
42 lines
798 B
YAML
name: Build all core packages
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '.github/workflows/packages.yml'
|
|
- 'config/**'
|
|
- 'include/**'
|
|
- 'package/**'
|
|
- 'target/linux/generic/**'
|
|
- 'toolchain/**'
|
|
push:
|
|
paths:
|
|
- '.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
|
|
|