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