GitHub CI: change build system to meson
[tinc] / .ci / warn / run.sh
1 #!/bin/bash
2
3 set -euo pipefail
4
5 test -n "$CC"
6
7 result=0
8
9 check_warnings() {
10   git clean -dfx
11   ./.ci/build.sh -Dwerror=true "$@" || result=$?
12 }
13
14 check_warnings
15 check_warnings -Dcrypto=nolegacy
16
17 exit $result