Skip to content

Commit 4109615

Browse files
committed
CI: Build on Windows and Linux.
1 parent 0b23667 commit 4109615

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Diff for: .github/workflows/linux_build.yml renamed to .github/workflows/build.yml

+8-5
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-2019]
1314
project:
1415
- cc3220sf
1516
- efm32gg
@@ -59,17 +60,19 @@ jobs:
5960
- tz10xx
6061
- w7500
6162
fail-fast: false
62-
runs-on: ubuntu-latest
63-
name: Build ${{ matrix.project }}
63+
runs-on: ${{ matrix.os }}
64+
name: Build ${{ matrix.project }} on ${{ matrix.os }}
6465
steps:
6566
- uses: actions/checkout@v3
6667
- name: Setup Python
6768
uses: actions/setup-python@v4
6869
with:
6970
python-version: 3.8
7071
cache: pip
71-
- name: install requirements
72-
run: sudo apt-get install -y gcc-arm-none-eabi
72+
- name: Setup arm-none-eabi-gcc
73+
uses: carlosperate/arm-none-eabi-gcc-action@v1
74+
with:
75+
release: 10.3-2021.10
7376

7477
- name: install requirements
7578
run: pip install -r requirements.txt

0 commit comments

Comments
 (0)