From beb79dc58df323b54e30cbef3b1187464190805c Mon Sep 17 00:00:00 2001 From: "Maxim [maxirmx] Samsonov" Date: Mon, 18 Sep 2023 14:03:54 +0300 Subject: [PATCH] gpg tests --- .github/workflows/centos-and-fedora-new.yml | 35 ++++++++++++++------- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/.github/workflows/centos-and-fedora-new.yml b/.github/workflows/centos-and-fedora-new.yml index b5f91e5dcd..610c794dfe 100644 --- a/.github/workflows/centos-and-fedora-new.yml +++ b/.github/workflows/centos-and-fedora-new.yml @@ -53,17 +53,30 @@ jobs: - { CC: clang, CXX: clang++, BUILD_MODE: sanitize } image: - - { container: 'centos-7-amd64', backend: 'Botan', gpg_ver: 'stable' } - - { container: 'centos-8-amd64', backend: 'Botan', gpg_ver: 'system' } - - { container: 'centos-8-amd64', backend: 'Botan', gpg_ver: 'lts' } - - { container: 'centos-9-amd64', backend: 'Botan', gpg_ver: 'system' } - - { container: 'fedora-35-amd64', backend: 'Botan', gpg_ver: 'system' } - - { container: 'fedora-36-amd64', backend: 'Botan', gpg_ver: 'system' } - - { container: 'fedora-36-amd64', backend: 'Botan', gpg_ver: 'head' } - - { container: 'centos-8-amd64', backend: 'OpenSSL', gpg_ver: 'lts' } - - { container: 'centos-9-amd64', backend: 'OpenSSL', gpg_ver: 'system' } - - { container: 'fedora-35-amd64', backend: 'OpenSSL', gpg_ver: 'system' } - - { container: 'fedora-36-amd64', backend: 'OpenSSL', gpg_ver: 'system' } + - { container: 'centos-7-amd64', backend: 'Botan', gpg_ver: 'stable' } + - { container: 'centos-8-amd64', backend: 'Botan', gpg_ver: 'system' } + - { container: 'centos-8-amd64', backend: 'Botan', sm2: On, gpg_ver: 'lts' } + - { container: 'centos-8-amd64', backend: 'Botan', sm2: Off, gpg_ver: 'stable' } + - { container: 'centos-9-amd64', backend: 'Botan', gpg_ver: 'stable' } + - { container: 'fedora-35-amd64', backend: 'Botan', gpg_ver: 'system' } + - { container: 'fedora-36-amd64', backend: 'Botan', gpg_ver: 'system' } + - { container: 'fedora-36-amd64', backend: 'Botan', gpg_ver: 'head' } + - { container: 'centos-8-amd64', backend: 'OpenSSL', gpg_ver: 'lts' } + - { container: 'centos-9-amd64', backend: 'OpenSSL', idea: On, gpg_ver: 'stable' } + - { container: 'centos-9-amd64', backend: 'OpenSSL', idea: Off,gpg_ver: 'stable' } + - { container: 'fedora-35-amd64', backend: 'OpenSSL', gpg_ver: 'system' } + - { container: 'fedora-36-amd64', backend: 'OpenSSL', gpg_ver: 'system' } + + include: + # Coverage report for Botan backend + - image: { container: 'centos-8-amd64', gpg_ver: stable, backend: Botan } + env: { CC: gcc, CXX: g++, BUILD_MODE: coverage } + # Coverage report for OpenSSL 1.1.1 backend + - image: { container: 'centos-8-amd64', gpg_ver: stable, backend: OpenSSL } + env: { CC: gcc, CXX: g++, BUILD_MODE: coverage } + # Coverage report for OpenSSL 3.0 backend + - image: { container: 'fedora-36-amd64', gpg_ver: stable, backend: OpenSSL } + env: { CC: gcc, CXX: g++, BUILD_MODE: coverage } container: ghcr.io/maxirmx/ci-rnp-${{ matrix.image.container }}