summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2022-09-09 01:39:58 (GMT)
committerGitHub <noreply@github.com>2022-09-09 01:39:58 (GMT)
commite94d096e0ef9aaaafa3c58cbb387e55072bfb24e (patch)
tree1530fd8ec6e0ef1b502cd9bf5bdd8a0ee211e11d
parent72997c5a915ccf80459cd023c6322239c308c025 (diff)
parent8b7c57a8b15361d2b710c2ba461331e43dafcc93 (diff)
downloadlz4-e94d096e0ef9aaaafa3c58cbb387e55072bfb24e.zip
lz4-e94d096e0ef9aaaafa3c58cbb387e55072bfb24e.tar.gz
lz4-e94d096e0ef9aaaafa3c58cbb387e55072bfb24e.tar.bz2
Merge pull request #1159 from lz4/ubsan2
attempt to enable ubsan tests in CI
-rw-r--r--.github/workflows/ci.yml24
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