Skip to content

Commit 72357f1

Browse files
CI: Test with an old, a supported, and newest GCC versions.
1 parent 16dd4bd commit 72357f1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,18 @@ on:
88

99
jobs:
1010
build:
11-
name: Build project
1211
runs-on: ubuntu-20.04
12+
strategy:
13+
matrix:
14+
# Testing an old GCC version, a version officially supported by Mbed, and latest
15+
gcc: ['7-2017-q4', '9-2020-q2', 'latest']
16+
name: Build - gcc ${{ matrix.gcc }}
1317
steps:
1418
- uses: actions/checkout@v2
1519
- name: Install GNU Arm Embedded Toolchain (arm-none-eabi-gcc)
1620
uses: carlosperate/arm-none-eabi-gcc-action@v1
1721
with:
18-
release: '10-2020-q4'
22+
release: ${{ matrix.gcc }}
1923
- name: Set up Python
2024
uses: actions/setup-python@v2
2125
with:

0 commit comments

Comments
 (0)