Use a matrix to make the Posix GCC Kernel check run on macos and ubuntu

This commit is contained in:
Soren Ptak 2024-01-18 09:32:26 -05:00
parent 21f429f0b4
commit 7fd4033a53

View file

@ -58,7 +58,13 @@ jobs:
POSIX-GCC:
name: Native GCC
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout the FreeRTOS/FreeRTOS Repository
uses: actions/checkout@v3
@ -76,6 +82,7 @@ jobs:
- name: Install GCC
shell: bash
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get -y update
sudo apt-get -y install build-essential