]>
Commit | Line | Data |
---|---|---|
5a0720a9 EV |
1 | name: Sanitizers build |
2 | on: | |
3 | - push | |
4 | - pull_request | |
5 | jobs: | |
8f1500a9 | 6 | sanitizers: |
5a0720a9 EV |
7 | strategy: |
8 | fail-fast: false | |
9 | matrix: | |
10 | compiler: | |
11 | - gcc | |
12 | - clang | |
0ab1a634 | 13 | runs-on: ubuntu-22.04 |
5a0720a9 EV |
14 | steps: |
15 | - name: Checkout code | |
16 | uses: actions/checkout@v2 | |
17 | ||
b4b1f149 CB |
18 | - name: Install dependencies |
19 | run: | | |
20 | sudo apt-get update -qq | |
21 | sudo apt-get install -qq gcc clang meson llvm | |
22 | sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev libselinux1-dev linux-libc-dev libpam0g-dev docbook2x | |
23 | ||
617efa73 CB |
24 | - name: Compiler version |
25 | env: | |
26 | CC: ${{ matrix.compiler }} | |
27 | run: | | |
28 | ${CC} --version | |
29 | ||
30 | - name: Kernel version | |
31 | run: | | |
32 | uname -a | |
33 | ||
34 | - name: Mount table | |
35 | run: | | |
36 | findmnt | |
37 | ||
5a0720a9 | 38 | - name: Build |
5a0720a9 | 39 | run: | |
1667e14e | 40 | sudo CC=${{ matrix.compiler }} CXX=${{ matrix.compiler }}++ .github/workflows/sanitizers.sh |