Skip to content

Commit 7337c85

Browse files
committed
CI: Build on Windows and Linux.
1 parent 0f35dff commit 7337c85

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/linux_build.yml renamed to .github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: linux develop build "GCC with Make"
1+
name: Build all projects with "GCC with Make"
22

33
on:
44
push:
@@ -10,6 +10,7 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13+
os: [ubuntu-latest, windows-latest]
1314
project:
1415
- cc3220sf
1516
- efm32gg
@@ -61,17 +62,19 @@ jobs:
6162
# An empty string will build all projects, in case this list is outdated
6263
- ""
6364
fail-fast: false
64-
runs-on: ubuntu-latest
65-
name: Build ${{ matrix.project || 'all' }}
65+
runs-on: ${{ matrix.os }}
66+
name: Build ${{ matrix.project || 'all' }} on ${{ matrix.os }}
6667
steps:
6768
- uses: actions/checkout@v3
6869
- name: Setup Python
6970
uses: actions/setup-python@v4
7071
with:
7172
python-version: 3.8
7273
cache: pip
73-
- name: install requirements
74-
run: sudo apt-get install -y gcc-arm-none-eabi
74+
- name: Setup arm-none-eabi-gcc
75+
uses: carlosperate/arm-none-eabi-gcc-action@v1
76+
with:
77+
release: 10.3-2021.10
7578

7679
- name: install requirements
7780
run: pip install -r requirements.txt

0 commit comments

Comments
 (0)