diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-12-24 11:50:37 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2021-12-24 16:24:16 +0100 |
commit | 298cff6171ea439a5a8e0c9c2fa22a843c3b4561 (patch) | |
tree | 48e16b832d231b67e16190339399336bbc822701 /.github/workflows/build_test.yml | |
parent | ci: drop build test with -O2, since it's covered by -O3 tests (diff) | |
download | systemd-298cff6171ea439a5a8e0c9c2fa22a843c3b4561.tar.xz systemd-298cff6171ea439a5a8e0c9c2fa22a843c3b4561.zip |
ci: test build with supported cryptolibs to some degree
Let's assign a specific -Dcryptolib= value to each job to have at least
some coverage for all supported cryptolibs without unnecessarily
multiplying the test matrix.
Should provide coverage for #21880.
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/build_test.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 69487fa594..f0b9fe495c 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -19,20 +19,20 @@ jobs: build: runs-on: ubuntu-20.04 concurrency: - group: ${{ github.workflow }}-${{ matrix.env.COMPILER }}-${{ matrix.env.COMPILER_VERSION }}-${{ matrix.env.LINKER }}-${{ github.ref }} + group: ${{ github.workflow }}-${{ toJSON(matrix.env) }}-${{ github.ref }} cancel-in-progress: true strategy: fail-fast: false matrix: env: - - { COMPILER: "gcc", COMPILER_VERSION: "10", LINKER: "bfd" } - - { COMPILER: "gcc", COMPILER_VERSION: "11", LINKER: "gold" } - - { COMPILER: "clang", COMPILER_VERSION: "11", LINKER: "bfd" } - - { COMPILER: "clang", COMPILER_VERSION: "12", LINKER: "gold" } - - { COMPILER: "clang", COMPILER_VERSION: "13", LINKER: "lld" } + - { COMPILER: "gcc", COMPILER_VERSION: "10", LINKER: "bfd", CRYPTOLIB: "gcrypt" } + - { COMPILER: "gcc", COMPILER_VERSION: "11", LINKER: "gold", CRYPTOLIB: "openssl" } + - { COMPILER: "clang", COMPILER_VERSION: "11", LINKER: "bfd", CRYPTOLIB: "auto" } + - { COMPILER: "clang", COMPILER_VERSION: "12", LINKER: "gold", CRYPTOLIB: "gcrypt" } + - { COMPILER: "clang", COMPILER_VERSION: "13", LINKER: "lld", CRYPTOLIB: "openssl" } env: ${{ matrix.env }} steps: - name: Repository checkout uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 - - name: Build check (${{ env.COMPILER }}-${{ env.COMPILER_VERSION }}-${{ env.LINKER }}) + - name: ${{ format('Build check ({0}-{1}-{2}-{3})', env.COMPILER, env.COMPILER_VERSION, env.LINKER, env.CRYPTOLIB) }} run: sudo -E .github/workflows/build_test.sh |