Always inline push and pop functions with gcc and clang to prevent co… #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Meson Continuous Integrations | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-and-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
cpp_compiler: [g++, clang++] | |
sanitize: [address ,undefined, thread] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Meson and Boost.Test | |
run: sudo apt-get --quiet --yes install 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 |