mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
7587b5fd09
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16174)
31 lines
1008 B
YAML
31 lines
1008 B
YAML
name: Coverage
|
|
|
|
#Run once a day
|
|
on:
|
|
schedule:
|
|
- cron: '49 0 * * *'
|
|
|
|
jobs:
|
|
coverage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: package installs
|
|
run: |
|
|
sudo apt-get -yq install lcov
|
|
- name: config
|
|
run: CC=gcc ./config --banner=Configured --debug --coverage no-asm 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 -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
|
- name: config dump
|
|
run: ./configdata.pm --dump
|
|
- name: make
|
|
run: make -s -j4
|
|
- name: make test
|
|
run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
|
|
- name: generate coverage info
|
|
run: lcov -d . -c -o ./lcov.info
|
|
- name: Coveralls upload
|
|
uses: coverallsapp/github-action@v1.1.2
|
|
with:
|
|
github-token: ${{ secrets.github_token }}
|
|
path-to-lcov: ./lcov.info
|