Skip to content

Run Continuous Integrations only on compilable code changes. #21

Run Continuous Integrations only on compilable code changes.

Run Continuous Integrations only on compilable code changes. #21

Workflow file for this run

name: Meson Continuous Integrations
on:
push:
branches: [ master ]
paths:
- '!**'
- '**.h'
- '**.cc'
- 'meson*'
- .github/workflows/ci-meson.yml
pull_request:
branches: [ master ]
paths:
- '!**'
- '**.h'
- '**.cc'
- 'meson*'
- .github/workflows/ci-meson.yml
jobs:
build-and-test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm]
cpp_compiler: [g++, clang++]
sanitize: [address, undefined, thread]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- name: Install Meson and Boost.Test
run: sudo apt-get install --yes -qq meson libboost-test-dev
- name: Setup
env:
CXX: ${{ matrix.cpp_compiler }}
run: meson setup build -Dwerror=true -Dwarning_level=3 -Db_sanitize=${{ matrix.sanitize }}
- name: Compile
run: meson compile -C build
- name: Test
run: meson test -C build --print-errorlogs