File tree Expand file tree Collapse file tree 1 file changed +11
-29
lines changed
Expand file tree Collapse file tree 1 file changed +11
-29
lines changed Original file line number Diff line number Diff line change @@ -120,37 +120,19 @@ jobs:
120120 # Build ARM with CMake
121121 # ---------------------------------------
122122 arm-cmake :
123- runs-on : ubuntu-latest
123+ needs : set-matrix
124+ uses : ./.github/workflows/build_util.yml
124125 strategy :
125126 fail-fast : false
126127 matrix :
127- board :
128+ port :
128129 # Alphabetical order by family
129- - ' metro_m7_1011'
130+ # - 'metro_m7_1011'
130131 # - 'stm32f303disco' # overflows flash
131- - ' stm32f411ve_discovery'
132- - ' stm32h563_nucleo'
133-
134- steps :
135- - name : Checkout
136- uses : actions/checkout@v4
137- with :
138- submodules : true
139-
140- - name : Fetch tags
141- run : git fetch --tags
142-
143- - name : Install ARM GCC
144- uses : carlosperate/arm-none-eabi-gcc-action@v1
145- with :
146- release : ' 11.2-2022.02'
147-
148- - name : Get Dependencies
149- run : |
150- sudo apt install -y ninja-build
151- python tools/get_deps.py --board ${{ matrix.board }}
152-
153- - name : Build
154- run : |
155- cmake . -B _build -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DBOARD=${{ matrix.board }}
156- cmake --build _build
132+ - ' stm32f4'
133+ - ' stm32h5'
134+ with :
135+ port : ${{ matrix.port }}
136+ boards : ${{ toJSON(fromJSON(needs.set-matrix.outputs.json)[matrix.port].board) }}
137+ build-system : ' cmake'
138+ toolchain : ' arm-gcc'
You can’t perform that action at this time.
0 commit comments