From: Zbigniew Jędrzejewski-Szmek Date: Wed, 1 Dec 2021 11:50:01 +0000 (+0100) Subject: ci: expand the test framework to cover openssl X-Git-Tag: v250-rc1~88^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85bd394df57fe45c2873605e2c1d1d79e83e853d;p=thirdparty%2Fsystemd.git ci: expand the test framework to cover openssl --- diff --git a/.github/workflows/unit_tests.sh b/.github/workflows/unit_tests.sh index 7e7e3016e8e..ec7e92a49a7 100755 --- a/.github/workflows/unit_tests.sh +++ b/.github/workflows/unit_tests.sh @@ -29,6 +29,8 @@ function info() { set -ex +MESON_ARGS=(-Dcryptolib=${CRYPTOLIB:-auto}) + for phase in "${PHASES[@]}"; do case $phase in SETUP) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 1458732d2b8..537074c231f 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -22,10 +22,18 @@ jobs: fail-fast: false matrix: run_phase: [GCC, GCC_ASAN_UBSAN, CLANG, CLANG_ASAN_UBSAN] + cryptolib: [auto] + include: + - run_phase: GCC + cryptolib: openssl + - run_phase: CLANG + cryptolib: gcrypt steps: - name: Repository checkout uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 - name: Install build dependencies run: sudo -E .github/workflows/unit_tests.sh SETUP - - name: Build & test (${{ matrix.run_phase }}) + - name: Build & test (${{ matrix.run_phase }}-${{ matrix.cryptolib }}) run: sudo -E .github/workflows/unit_tests.sh RUN_${{ matrix.run_phase }} + env: + CRYPTOLIB: ${{ matrix.cryptolib }}