language: c
-sudo: required
+os: linux
dist: bionic
# don't build tags separately
- LEAK_DETECTIVE=no
- MONOLITHIC=no
-matrix:
+jobs:
include:
- env: TEST=sonarcloud
if: type = push AND env(SONAR_TOKEN) IS present
git:
depth: false
+ cache:
+ directories:
+ - $HOME/.sonar-cache
addons:
sonarcloud:
organization: "strongswan"
- env: TEST=printf-builtin LEAK_DETECTIVE=yes
- env: TEST=printf-builtin LEAK_DETECTIVE=yes
compiler: clang
+ - env: TEST=nm
+ - env: TEST=nm-no-glib
# the crypto plugins are build-tested with clang via "all" above
- env: TEST=botan
- env: TEST=botan LEAK_DETECTIVE=yes