File: ci-meson.yml

package info (click to toggle)
libatomic-queue 1.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,356 kB
  • sloc: cpp: 1,704; javascript: 315; makefile: 127; ansic: 91; python: 82; sh: 76
file content (47 lines) | stat: -rw-r--r-- 1,039 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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@v6

      - 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