mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-17 04:17:19 +00:00
Add support to use container included external toolchain and skip redownloading external sdk for each test. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
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
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Packages with external toolchain
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
strategy:
|
|
fail-fast: False
|
|
matrix:
|
|
include:
|
|
- target: malta
|
|
subtarget: be
|
|
- target: x86
|
|
subtarget: 64
|
|
uses: ./.github/workflows/build.yml
|
|
with:
|
|
container_name: toolchain
|
|
target: ${{ matrix.target }}
|
|
subtarget: ${{ matrix.subtarget }}
|
|
build_kernel: true
|
|
build_all_kmods: true
|
|
build_all_modules: true
|
|
build_full: true
|
|
|