diff options
author | Pauli <pauli@openssl.org> | 2023-02-27 11:05:48 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-03-03 09:29:33 +1100 |
commit | e8ca529feb0d062ab9f869ac25a37cc4c6b8b329 (patch) | |
tree | 1b64828c48f09ac67af3e8ef49ca76d542fd1e18 /.github | |
parent | c4cb151b4d19f5f2eb302baafac65e36e4408381 (diff) | |
download | openssl-e8ca529feb0d062ab9f869ac25a37cc4c6b8b329.tar.gz |
Include supported branches in coveralls
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/20383)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/coveralls.yml | 33 |
1 files changed, 28 insertions, 5 deletions
diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index c380514951..10308c2a2b 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -7,7 +7,7 @@ name: Coverage -#Run once a day +# Run once a day on: schedule: - cron: '49 0 * * *' @@ -18,26 +18,47 @@ permissions: jobs: coverage: permissions: - checks: write # for coverallsapp/github-action to create new checks - contents: read # for actions/checkout to fetch code + checks: write # for coverallsapp/github-action to create new checks + contents: read # for actions/checkout to fetch code + strategy: + fail-fast: false + matrix: + branches: [ + { + branch: OpenSSL_1_1_1-stable + }, { + branch: openssl-3.1, + extra_config: enable-fips + }, { + branch: openssl-3.0, + extra_config: enable-fips + }, { + branch: master, + extra_config: no-afalgeng enable-fips enable-tfo enable-quic + } + ] runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: submodules: recursive + ref: ${{ matrix.branches.branch }} + - name: cache commit id + run: | + echo "githubid=`/usr/bin/git log -1 --format='%H'`" >>$GITHUB_ENV - name: package installs run: | sudo apt-get update sudo apt-get -yq install lcov sudo apt-get -yq install bison gettext keyutils ldap-utils libldap2-dev libkeyutils-dev python3 python3-paste python3-pyrad slapd tcsh python3-virtualenv virtualenv python3-kdcproxy - - name: install cpanm and Test2::V0 for gost_engine testing + - name: install Test2::V0 for gost_engine testing uses: perl-actions/install-with-cpanm@v1 with: install: Test2::V0 - name: setup hostname workaround run: sudo hostname localhost - name: config - run: CC=gcc ./config --banner=Configured --debug --coverage no-asm no-afalgeng enable-fips enable-rc5 enable-md2 enable-ssl3 enable-nextprotoneg enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 no-shared enable-buildtest-c++ enable-external-tests enable-tfo enable-quic -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION + run: CC=gcc ./config --debug --coverage ${{ matrix.branches.extra_config }} no-asm enable-rc5 enable-md2 enable-ssl3 enable-nextprotoneg enable-ssl3-method enable-weak-ssl-ciphers enable-zlib enable-ec_nistp_64_gcc_128 no-shared enable-buildtest-c++ enable-external-tests -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION - name: config dump run: ./configdata.pm --dump - name: make @@ -50,4 +71,6 @@ jobs: uses: coverallsapp/github-action@v1.2.4 with: github-token: ${{ secrets.github_token }} + git-branch: ${{ matrix.branches.branch }} + git-commit: ${{ env.githubid }} path-to-lcov: ./lcov.info |