Skip to content

Commit

Permalink
github: Enabled parallel make workers with output-sync per build target
Browse files Browse the repository at this point in the history
  • Loading branch information
ALTracer committed Aug 18, 2024
1 parent cc33cb4 commit 2caf88d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,31 +97,31 @@ jobs:

# Build the firmware for all platform variants and BMDA in BMP-only mode
- name: Build all platform variants firmware and BMP only BMDA
run: make all_platforms HOSTED_BMP_ONLY=1
run: make all_platforms HOSTED_BMP_ONLY=1 -j$(nproc) -Otarget

- name: Clean
run: make clean

# Build all the firmware variants that have more than 128kiB of Flash, with RTT enabled
- name: Build firmware with RTT
run: |
make PROBE_HOST=96b_carbon ENABLE_RTT=1
make PROBE_HOST=96b_carbon ENABLE_RTT=1 -j$(nproc) -Otarget
make -C src clean
make PROBE_HOST=blackpill-f401cc ENABLE_RTT=1
make PROBE_HOST=blackpill-f401cc ENABLE_RTT=1 -j$(nproc) -Otarget
make -C src clean
make PROBE_HOST=blackpill-f401ce ENABLE_RTT=1
make PROBE_HOST=blackpill-f401ce ENABLE_RTT=1 -j$(nproc) -Otarget
make -C src clean
make PROBE_HOST=blackpill-f411ce ENABLE_RTT=1
make PROBE_HOST=blackpill-f411ce ENABLE_RTT=1 -j$(nproc) -Otarget
make -C src clean
make PROBE_HOST=f3 ENABLE_RTT=1
make PROBE_HOST=f3 ENABLE_RTT=1 -j$(nproc) -Otarget
make -C src clean
make PROBE_HOST=f4discovery ENABLE_RTT=1
make PROBE_HOST=f4discovery ENABLE_RTT=1 -j$(nproc) -Otarget
make -C src clean
make PROBE_HOST=hydrabus ENABLE_RTT=1
make PROBE_HOST=hydrabus ENABLE_RTT=1 -j$(nproc) -Otarget
make -C src clean
make PROBE_HOST=launchpad-icdi ENABLE_RTT=1
make PROBE_HOST=launchpad-icdi ENABLE_RTT=1 -j$(nproc) -Otarget
make -C src clean
make PROBE_HOST=stlinkv3 ENABLE_RTT=1
make PROBE_HOST=stlinkv3 ENABLE_RTT=1 -j$(nproc) -Otarget
- name: Clean
run: make clean
Expand All @@ -132,7 +132,7 @@ jobs:

# And build that full binary
- name: Build full BMDA binary
run: make PROBE_HOST=hosted HOSTED_BMP_ONLY=0
run: make PROBE_HOST=hosted HOSTED_BMP_ONLY=0 -j$(nproc) -Otarget

build-windows-msvc:
# Name the job more appropriately so we can tell which VS version is in use
Expand Down

0 comments on commit 2caf88d

Please sign in to comment.