Skip to content

.github: Add simple build test #2

.github: Add simple build test

.github: Add simple build test #2

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
run-tests:
strategy:

Check failure on line 5 in .github/workflows/build-meson.yaml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build-meson.yaml (Line: 5, Col: 5): Required property is missing: runs-on
fail-fast: false
matrix:
os:
- ubuntu-22.04
- ubuntu-20.04
buildsystem:
- meson
- cmake
steps:
- name: Install build system
run: |
sudo apt-get install ninja-build ${{ matrix.buildsystem }}
- name: Checkout
uses: actions/checkout@v4
- name: Checkout FreeRTOS-kernel
uses: actions/checkout@v4
with:
repository: FreeRTOS/FreeRTOS-Kernel
path: freertos
- name: Checkout libcsp
uses: actions/checkout@v4
with:
repository: libcsp/libcsp
path: subprojects/libcsp
- name: Configure with Meson
if: ${{ matrix.buildssytem == 'meson' }}
run: |
meson setup builddir
- name: Configure with CMake
if: ${{ matrix.buildssytem == 'cmake' }}
run: |
cmake -B builddir -GNinja
- name: Build
run: |
ninja -C builddir