Separated CI/CD pipeline to parallel architecture build stage and optional version creation stage #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: gdb-static-pr-pipeline | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
strategy: | |
matrix: | |
architecture: ["x86_64", "arm", "aarch64", "powerpc", "mips", "mipsel"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: sudo apt-get install -y wget | |
- name: Build | |
run: make build-${{ matrix.architecture }} -j$((`nproc`+1)) |