Skip to content

CI: Minor update, workaround actions/runner-images#9491 #168

CI: Minor update, workaround actions/runner-images#9491

CI: Minor update, workaround actions/runner-images#9491 #168

Workflow file for this run

name: C/C++ CI
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches: trunk
paths:
- '**'
- '!**.md'
- '!docs/**'
- '!**.yml'
- '**/c-cpp.yml'
pull_request:
branches: trunk
paths:
- '**'
- '!**.md'
- '!docs/**'
- '!**.yml'
- '**/c-cpp.yml'
jobs:
linux:
strategy:
matrix:
cc: [gcc, clang]
runs-on: ubuntu-latest
env:
CC: ${{ matrix.cc }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt remove -y firefox
sudo apt update && apt upgrade -y
sudo apt install -y meson $CC
- name: Build
run: |
meson setup _build
cd _build
ninja
- name: Test
run: cd _build && meson test -v
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: brew install meson
- run: |
meson setup _build
cd _build
ninja
meson test -v