diff options
author | Matt Caswell <matt@openssl.org> | 2021-01-27 18:23:13 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2021-02-02 13:21:33 +0100 |
commit | f94a91698b82a1986b553a1f46e4cd51219d0223 (patch) | |
tree | 02acb0948486f9917e5c87202d0337a4cb11f4d5 /.github | |
parent | Ensure the EVP_PKEY operation_cache is appropriately locked (diff) | |
download | openssl-f94a91698b82a1986b553a1f46e4cd51219d0223.tar.xz openssl-f94a91698b82a1986b553a1f46e4cd51219d0223.zip |
Add a CI job to run the threads test with threads sanitizer on
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13987)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e99a9b97b..b057eb1d5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,6 +91,17 @@ jobs: - name: make test run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} OPENSSL_TEST_RAND_ORDER=0 + threads_sanitizer: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: config + run: CC=clang ./config --strict-warnings -fsanitize=thread && perl configdata.pm --dump + - name: make + run: make -s -j4 + - name: make test + run: make TESTS=test_threads test HARNESS_JOBS=${HARNESS_JOBS:-4} + enable_non-default_options: runs-on: ubuntu-latest steps: |