Make pipeline faster #33
Workflow file for this run
This file contains hidden or 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: | |
build_type: ["build", "build-with-python"] | |
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 docker image | |
run: make build-docker-image | |
- name: Download packages | |
run: make download-packages | |
- name: Build GDB dependencies | |
run: make build-common-${{ matrix.architecture }} -j$((`nproc`+1)) | |
- name: Build | |
run: make ${{ matrix.build_type }}-${{ matrix.architecture }} -j$((`nproc`+1)) |