13 - uses: actions/checkout@v2
14 - name: Compile with gcc
18 export CFLAGS="$CFLAGS -Werror"
25 - uses: actions/checkout@v2
26 - name: Compile with clang
30 # see: https://github.com/actions/setup-python/issues/577
32 brew install llvm || true
33 brew link --overwrite python@3.11
34 export PATH="/usr/local/opt/llvm/bin:$PATH"
35 export CFLAGS="$CFLAGS -Werror"
39 clang-tidy src/* -- -I/usr/include
41 runs-on: ubuntu-latest
43 - uses: actions/checkout@v2
44 - name: Compile patches with gcc