automation: build python targets in pipeline ci-cd
done using a 2d matrix involving the build type (regular or with python)
This commit is contained in:
parent
5359ff1116
commit
6738cedefc
3
.github/workflows/pr-pipeline.yaml
vendored
3
.github/workflows/pr-pipeline.yaml
vendored
@ -9,6 +9,7 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
build_type: ["build", "build-with-python"]
|
||||||
architecture: ["x86_64", "arm", "aarch64", "powerpc", "mips", "mipsel"]
|
architecture: ["x86_64", "arm", "aarch64", "powerpc", "mips", "mipsel"]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -21,4 +22,4 @@ jobs:
|
|||||||
run: sudo apt-get install -y wget
|
run: sudo apt-get install -y wget
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make build-${{ matrix.architecture }} -j$((`nproc`+1))
|
run: make ${{ matrix.build_type }}-${{ matrix.architecture }} -j$((`nproc`+1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user