diff options
author | Yann Collet <cyan@fb.com> | 2022-09-08 22:35:39 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2022-09-08 22:43:28 (GMT) |
commit | 8b7c57a8b15361d2b710c2ba461331e43dafcc93 (patch) | |
tree | 1530fd8ec6e0ef1b502cd9bf5bdd8a0ee211e11d /.github/workflows | |
parent | 72997c5a915ccf80459cd023c6322239c308c025 (diff) | |
download | lz4-8b7c57a8b15361d2b710c2ba461331e43dafcc93.zip lz4-8b7c57a8b15361d2b710c2ba461331e43dafcc93.tar.gz lz4-8b7c57a8b15361d2b710c2ba461331e43dafcc93.tar.bz2 |
attempt to enable ubsan tests in CI
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7a9bda2..adeaccc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -396,25 +396,18 @@ jobs: lz4-ubsan-x64: name: Linux x64 ubsan runs-on: ubuntu-latest - env: # Set environment variables - FIXME__LZ4_CI_IGNORE : ' echo Error. But we ignore it for now.' steps: - uses: actions/checkout@v3 # https://github.com/actions/checkout - name: ubsan - ######################################################### - # For now, we ignore the exit code of `make usan`. - # See "Known issues / lz4-ubsan-x64" in README.md - # When we'll resolve this issue, remove "|| $FIXME__LZ4_CI_IGNORE" - ######################################################### - run: make V=1 clean usan MOREFLAGS='-Wcomma -Werror' || $FIXME__LZ4_CI_IGNORE + run: | + make clean + make V=1 usan lz4-ubsan-x86: name: Linux x86 ubsan runs-on: ubuntu-latest - env: # Set environment variables - FIXME__LZ4_CI_IGNORE : ' echo Error. But we ignore it for now.' steps: - uses: actions/checkout@v3 # https://github.com/actions/checkout @@ -425,19 +418,14 @@ jobs: sudo apt-get install lib32gcc-11-dev - name: ubsan32 - ######################################################### - # For now, we ignore the exit code of `make usan32`. - # See "Known issues / lz4-ubsaan-x86" in README.md. - # When we'll resolve this issue, remove "|| $FIXME__LZ4_CI_IGNORE" - ######################################################### - run: CC=clang make V=1 clean usan32 MOREFLAGS='-Wcomma -Werror' || $FIXME__LZ4_CI_IGNORE + run: | + make clean + CC=clang make V=1 usan32 lz4-asan-x64: name: Linux x64 ASAN runs-on: ubuntu-latest - env: # Set environment variables - FIXME__LZ4_CI_IGNORE : ' echo Error. But we ignore it for now.' steps: - uses: actions/checkout@v3 # https://github.com/actions/checkout |