• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: 'Build & Test'
2on:
3  push:
4    branches:
5      - master
6  pull_request:
7    branches:
8      - master
9
10permissions:
11  contents: read
12
13jobs:
14  build:
15    runs-on: '${{ matrix.os }}'
16    strategy:
17      matrix:
18        os:
19          # 18.04 does not work because of ‘no_sanitize’ attribute
20          # cc1: all warnings being treated as errors
21          # - ubuntu-18.04
22          - ubuntu-latest
23    steps:
24      - name: Install dependencies (Ubuntu)
25        if: runner.os == 'Linux'
26        run: sudo apt-get update && sudo apt-get install -y clang doxygen gcc gcc-10 gcc-9 valgrind
27      - uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
28      - uses: actions/setup-python@v5
29        with:
30          python-version: '3.12'
31      - run: pip install -r requirements.txt
32      - run: test/ci-build.sh
33
34