summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorTakayuki Matsuoka <t-mat@users.noreply.github.com>2021-06-01 11:03:48 (GMT)
committerTakayuki Matsuoka <t-mat@users.noreply.github.com>2021-06-01 11:03:48 (GMT)
commit5b01b5805af3ccc2d293892d75626bbc945beb35 (patch)
tree60570ddc2acd1d570a1c7fed090349469909c964 /.github/workflows/ci.yml
parent02a41178b7457a3c3806170858715d87cd86e612 (diff)
downloadlz4-5b01b5805af3ccc2d293892d75626bbc945beb35.zip
lz4-5b01b5805af3ccc2d293892d75626bbc945beb35.tar.gz
lz4-5b01b5805af3ccc2d293892d75626bbc945beb35.tar.bz2
Update document for .github/workflows
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml20
1 files changed, 15 insertions, 5 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 041168b..c23e0a8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -8,8 +8,8 @@
#
# Known Issue
# - All test cases which described as 'fail' must be fixed and replaced with 'true'.
-# - gcc-11 x32, x86 asserts.
-# - all clangs: x32, x86 asserts.
+# - gcc-11 (x32, x86) : "../lib/lz4hc.c:148: LZ4HC_countBack: Assertion `(size_t)(match - mMin) < (1U<<31)' failed."
+# - all clangs (x32, x86) : "../lib/lz4hc.c:282: int LZ4HC_InsertAndGetWiderMatch(...): Assertion `matchPtr >= lowPrefixPtr' failed."
#
name: lz4 CI
on: [push, pull_request]
@@ -39,7 +39,7 @@ jobs:
# gcc
{ pkgs: '', cc: gcc, cxx: g++, stdc11: 'true', stdc90: 'true', x32: 'true', x86: 'true', cxxtest: 'true', os: ubuntu-latest, },
- { pkgs: 'gcc-11 lib32gcc-11-dev libx32gcc-11-dev', cc: gcc-11, cxx: g++-11, stdc11: 'true', stdc90: 'true', x32: 'fail', x86: 'fail', cxxtest: 'true', os: ubuntu-20.04, }, # x32:assert(lz4hc.c:148), x86:assert(lz4hc.c:148)
+ { pkgs: 'gcc-11 lib32gcc-11-dev libx32gcc-11-dev', cc: gcc-11, cxx: g++-11, stdc11: 'true', stdc90: 'true', x32: 'fail', x86: 'fail', cxxtest: 'true', os: ubuntu-20.04, },
{ pkgs: 'gcc-10 lib32gcc-10-dev libx32gcc-10-dev', cc: gcc-10, cxx: g++-10, stdc11: 'true', stdc90: 'true', x32: 'true', x86: 'true', cxxtest: 'true', os: ubuntu-20.04, },
{ pkgs: 'gcc-9 lib32gcc-9-dev libx32gcc-9-dev', cc: gcc-9, cxx: g++-9, stdc11: 'true', stdc90: 'true', x32: 'true', x86: 'true', cxxtest: 'true', os: ubuntu-20.04, },
{ pkgs: 'gcc-8 g++-8 lib32gcc-8-dev libx32gcc-8-dev', cc: gcc-8, cxx: g++-8, stdc11: 'true', stdc90: 'true', x32: 'true', x86: 'true', cxxtest: 'true', os: ubuntu-20.04, },
@@ -330,7 +330,7 @@ jobs:
- name: ubsan
#########################################################
# For now, we ignore the exit code of `make usan`.
- # See "Known issues / lz4-ubsan" in README.md
+ # 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
@@ -352,7 +352,7 @@ jobs:
- name: ubsan32
#########################################################
# For now, we ignore the exit code of `make usan32`.
- # See "Known issues / ubsan.yml" in README.md.
+ # 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
@@ -386,6 +386,16 @@ jobs:
# QEMU
# All tests use QEMU (static) and gcc cross compiler.
+ #
+ # note:
+ # We don't employ completely matrix method which provides `MOREFLAGS`
+ # etc in the matrix. Because some platform may need its special
+ # compiler options and test.
+ # For example, xxHash already has tests for scalar and SIMD version of
+ # it. But compiler options are quite different between platforms.
+ #
+ # So, please keep them simple and independent.
+ #
lz4-qemu-platforms:
name: QEMU ${{ matrix.type }}
strategy: