Skip to content

Commit

Permalink
automation: build python targets in pipeline ci-cd
Browse files Browse the repository at this point in the history
done using a 2d matrix involving the build type (regular or with python)
  • Loading branch information
guyush1 committed Dec 27, 2024
1 parent aa80fd8 commit 2b2b993
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pr-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))

0 comments on commit 2b2b993

Please sign in to comment.