Skip to content

Commit 960a41c

Browse files
committed
CI: Build on Windows and Linux.
1 parent d6e9d00 commit 960a41c

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

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

+9-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-latest]
1314
project:
1415
- cc3220sf
1516
- efm32gg
@@ -61,17 +62,20 @@ 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+
timeout-minutes: 10
66+
runs-on: ${{ matrix.os }}
67+
name: Build ${{ matrix.project || 'all' }} on ${{ matrix.os }}
6668
steps:
6769
- uses: actions/checkout@v3
6870
- name: Setup Python
6971
uses: actions/setup-python@v4
7072
with:
7173
python-version: 3.8
7274
cache: pip
73-
- name: install requirements
74-
run: sudo apt-get install -y gcc-arm-none-eabi
75+
- name: Setup arm-none-eabi-gcc
76+
uses: carlosperate/arm-none-eabi-gcc-action@v1
77+
with:
78+
release: 10.3-2021.10
7579

7680
- name: install requirements
7781
run: pip install -r requirements.txt

0 commit comments

Comments
 (0)