runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [ ubuntu-latest, ubuntu-22.04, ubuntu-20.04 ]
+ os: [ ubuntu-latest, ubuntu-22.04 ]
test: [ botan, wolfssl, openssl, openssl-3, openssl-awslc, gcrypt ]
leak-detective: [ no, yes ]
exclude:
# test custom-built libs only on the latest platform
- os: ubuntu-22.04
test: botan
- - os: ubuntu-20.04
- test: botan
- os: ubuntu-22.04
test: wolfssl
- - os: ubuntu-20.04
- test: wolfssl
- os: ubuntu-22.04
test: openssl-3
- - os: ubuntu-20.04
- test: openssl-3
- os: ubuntu-22.04
test: openssl-awslc
- - os: ubuntu-20.04
- test: openssl-awslc
env:
LEAK_DETECTIVE: ${{ matrix.leak-detective || 'no' }}
CC: ${{ matrix.compiler || 'gcc' }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [ ubuntu-22.04, ubuntu-20.04 ]
+ os: [ ubuntu-22.04 ]
test: [ all, nm ]
compiler: [ gcc, clang ]
exclude:
LEAK_DETECTIVE: ${{ matrix.leak-detective || 'no' }}
CC: ${{ matrix.compiler || 'gcc' }}
TEST: ${{ matrix.test }}
- # LSan causes spurious SIGSEGV after tests due to DTLS handling by glibc (on 20.04)
- ASAN_OPTIONS: intercept_tls_get_addr=0
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
--disable-kernel-wfp --disable-kernel-iph --disable-winhttp"
# not enabled on the build server
CONFIG="$CONFIG --disable-af-alg"
- # unable to build Botan on Ubuntu 20.04
- if [ "$ID" = "ubuntu" -a "$VERSION_ID" = "20.04" ]; then
- CONFIG="$CONFIG --disable-botan"
- fi
if test "$TEST" != "coverage"; then
CONFIG="$CONFIG --disable-coverage"
else
fi
PYDEPS="build tox"
if test "$1" = "build-deps"; then
- if [ "$ID" = "ubuntu" -a "$VERSION_ID" != "20.04" ]; then
- build_botan
- fi
+ build_botan
build_wolfssl
build_tss2
fi
;;
nm)
DEPS="gnome-common libsecret-1-dev libgtk-3-dev libnm-dev libnma-dev"
- # Ubuntu 20.04 requires this package explicitly for the ITS rules for the .metainfo.xml file
- if [ "$ID" = "ubuntu" -a "$VERSION_ID" = "20.04" ]; then
- DEPS="$DEPS appstream"
- fi
cd src/frontends/gnome
# don't run ./configure with ./autogen.sh
export NOCONFIGURE=1