Skip to content

Commit

Permalink
github: Restrict the targets built for some probes due to Flash space…
Browse files Browse the repository at this point in the history
… limitations
  • Loading branch information
dragonmux committed Nov 28, 2023
1 parent 85fa15b commit 6b10ea2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,17 +236,17 @@ jobs:
arm-compiler:
- '12.2.Rel1'
probe:
- '96b_carbon'
- 'bluepill'
- 'f072'
- 'f3'
- 'f4discovery'
- 'hydrabus'
- 'launchpad-icdi'
- 'native'
- 'stlink'
- 'stlinkv3'
- 'swlink'
- {name: '96b_carbon', targets: 'cortexar,cortexm,riscv32,riscv64,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'bluepill', targets: 'cortexm,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'f072', targets: 'cortexar,cortexm,riscv32,riscv64,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'f3', targets: 'cortexar,cortexm,riscv32,riscv64,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'f4discovery', targets: 'cortexar,cortexm,riscv32,riscv64,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'hydrabus', targets: 'cortexar,cortexm,riscv32,riscv64,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'launchpad-icdi', targets: 'cortexar,cortexm,riscv32,riscv64,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'native', targets: 'cortexm,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'stlink', targets: 'cortexm,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'stlinkv3', targets: 'cortexar,cortexm,riscv32,riscv64,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
- {name: 'swlink', targets: 'cortexm,efm,hc32,lpc,nrf,nxp,renesas,rp,sam,stm,ti'}
fail-fast: false

# Steps represent a sequence of tasks that will be executed as part of the job
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
# Build the firmware for all platform variants (currently available)
- name: Build
run: |
meson setup build --cross-file cross-file/arm-none-eabi.ini -Dprobe=${{ matrix.probe }}
meson setup build --cross-file cross-file/arm-none-eabi.ini -Dprobe=${{ matrix.probe.name }} -Dtargets=${{ matrix.probe.targets }}
meson compile -C build
size-diff:
Expand Down

0 comments on commit 6b10ea2

Please sign in to comment.