diff options
author | Pauli <pauli@openssl.org> | 2021-06-30 01:25:40 +0200 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-07-01 05:18:58 +0200 |
commit | a5a4dac988c536bb021c4145ebba88e1507834f8 (patch) | |
tree | f45093310833ba37fba024936ec8a8fd2f350f6d /.github | |
parent | afalg: add some memory initialisation calls to pacify memory sanitisation. (diff) | |
download | openssl-a5a4dac988c536bb021c4145ebba88e1507834f8.tar.xz openssl-a5a4dac988c536bb021c4145ebba88e1507834f8.zip |
ci: add a memory sanitiser test run
This omission noted in #15950
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/15952)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a34ab933c0..5ff0750681 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -125,7 +125,7 @@ jobs: - name: make test run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} OPENSSL_TEST_RAND_ORDER=0 TESTS="-test_fuzz* -test_ssl_* -test_evp -test_cmp_http -test_verify -test_cms -test_store -test_enc -[01][0-9]" - sanitizers: + address_ub_sanitizer: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -136,6 +136,18 @@ jobs: - name: make test run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} OPENSSL_TEST_RAND_ORDER=0 + memory_sanitizer: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: config + # --debug -O1 is to produce a debug build that runs in a reasonable amount of time + run: CC=clang ./config --banner=Configured --debug -O1 -fsanitize=memory -DOSSL_SANITIZE_MEMORY -fno-optimize-sibling-calls enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 enable-fips && perl configdata.pm --dump + - name: make + run: make -s -j4 + - name: make test + run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} OPENSSL_TEST_RAND_ORDER=0 + threads_sanitizer: runs-on: ubuntu-latest steps: |