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:
Guy Shimko 2024-12-27 21:36:43 +02:00
parent 5359ff1116
commit 6738cedefc

View File

@ -9,6 +9,7 @@ jobs:
build:
strategy:
matrix:
build_type: ["build", "build-with-python"]
architecture: ["x86_64", "arm", "aarch64", "powerpc", "mips", "mipsel"]
runs-on: ubuntu-latest
@ -21,4 +22,4 @@ jobs:
run: sudo apt-get install -y wget
- name: Build
run: make build-${{ matrix.architecture }} -j$((`nproc`+1))
run: make ${{ matrix.build_type }}-${{ matrix.architecture }} -j$((`nproc`+1))