Skip to content

Commit e91dc34

Browse files
committed
Use a matrix to make the Posix GCC Kernel check run on macos and ubuntu
1 parent 21f429f commit e91dc34

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/kernel-demos.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ jobs:
5858
5959
POSIX-GCC:
6060
name: Native GCC
61-
runs-on: ubuntu-latest
61+
strategy:
62+
fail-fast: false
63+
matrix:
64+
os:
65+
- macos-latest
66+
- ubuntu-latest
67+
runs-on: ${{ matrix.os }}
6268
steps:
6369
- name: Checkout the FreeRTOS/FreeRTOS Repository
6470
uses: actions/checkout@v3
@@ -76,6 +82,7 @@ jobs:
7682

7783
- name: Install GCC
7884
shell: bash
85+
if: ${{ matrix.os }} == "ubuntu-latest"
7986
run: |
8087
sudo apt-get -y update
8188
sudo apt-get -y install build-essential

0 commit comments

Comments
 (0)