senhuang42
0907ab5f15
Add GH Actions windows runtime test
2021-11-29 18:25:19 -05:00
binhdvo
b399b47467
Move mingw tests from appveyor to github actions ( #2838 )
2021-11-02 13:17:55 -04:00
Nick Terrell
189e87bcbe
[lib] Make lib compatible with -Wfall-through
excepting legacy
...
Switch to a macro `ZSTD_FALLTHROUGH;` instead of a comment. On supported
compilers this uses an attribute, otherwise it becomes a comment.
This is necessary to be compatible with clang's `-Wfall-through`, and
gcc's `-Wfall-through=2` which don't support comments. Without this the
linux build emits a bunch of warnings.
Also add a test to CI to ensure that we don't regress.
2021-09-23 10:51:18 -07:00
Nick Terrell
9450876a9d
[huf] Fix compilation when DYNAMIC_BMI2=0 && BMI2 is supported
...
* Fix compilation issues pointed out in PR #2790 .
* Add test cases to GitHub actions that test all combinations of
`DYNAMIC_BMI2` BMI2 support.
2021-09-21 16:49:13 -07:00
Nick Terrell
8bf699aa59
[build] Add support for ASM files in Make + CMake
...
* Extract out common portion of `lib/Makefile` into `lib/libzstd.mk`.
Most relevantly, the way we find library files.
* Use `lib/libzstd.mk` in the other Makefiles instead of repeating the
same code.
* Add a test `tests/test-variants.sh` that checks that the builds of
`make -C programs allVariants` are correct, and run it in Actions.
* Adds support for ASM files in the CMake build.
The Meson build is not updated because it lists every file in zstd,
and supports ASM off the bat, so the Huffman ASM commit will just add
the ASM file to the list.
The Visual Studios build is not updated because I'm not adding ASM
support to Visual Studios yet.
2021-09-17 14:13:53 -07:00
Yann Collet
c1de65535f
Merge branch 'dev' into qemu
2021-08-31 08:16:46 -07:00
Yann Collet
333ecf6865
add powerpc qemu emulation
2021-08-30 06:37:50 -07:00
Yann Collet
2b27d07d06
attempt at adding m68k qemu tests
...
with optional success (for the time being)
2021-08-29 21:39:06 -07:00
Yann Collet
18191c85c9
adding optional QEMU_SYS
2021-08-29 16:43:32 -07:00
Yann Collet
1c97ec73d7
added qemu tests
...
running zstd library on emulated targets
2021-08-29 16:28:41 -07:00
Yann Collet
b341aa2f95
remove versions-compatibility test from GA
...
since it fails on Github Actions specifically.
The test is run on TravisCI for the time being.
Its duration has been reduced to ~6mn anyway.
2021-08-29 15:47:04 -07:00
Yann Collet
ef69539849
transferred inter-versions compatibility tests to GA
2021-08-29 11:53:56 -07:00
Sen Huang
43aad811db
Add VS2019 test, migrate minimal decompressor macros to GHActions
2021-07-29 08:49:36 -07:00
Sen Huang
2ff5c7b59f
Add no intrinsics fuzztest, rowhash compression size test, and S390X to travis
2021-06-07 00:54:53 -07:00
senhuang42
d278bede33
Update apt-get prior to tests that install packages
2021-05-26 13:38:36 -04:00
senhuang42
bb0cd722b6
Migrate travis CI tests
2021-05-21 09:59:57 -04:00
sen
d92fef0f0a
Merge pull request #2667 from senhuang42/arm_tests_ci
...
[CI] Add ARM tests back into CI
2021-05-17 14:29:20 -04:00
senhuang42
5a75417d2b
[ci] Add ARM tests back into CI
2021-05-17 13:10:57 -04:00
senhuang42
38ffe9658e
[ci] Use *-latest for platforms to test on
2021-05-17 13:04:55 -04:00
W. Felix Handte
e58e9c7928
Add Test Case (Behind Flag); Run in GitHub Action
2021-05-04 18:43:39 -04:00
senhuang42
a423305e7b
Remove ZBUFF tests
2021-04-19 17:27:05 -04:00
Sen Huang
ef4e26bda5
Add clang msan fuzz test to github actions
2021-03-25 09:11:43 -07:00
sen
413b3198b0
Merge pull request #2534 from foxeng/fix-seek-descriptor-check
...
Fix seek table descriptor check when loading
2021-03-16 13:09:00 -04:00
W. Felix Handte
d2b7f2e27a
Allow a Passphrase on the Key
2021-03-15 12:48:53 -04:00
W. Felix Handte
eed64d75f4
Maintain Artifact Name Backwards Compatibility
...
When the tag is `v1.2.3`, name the artifacts `zstd-1.2.3.tar*` rather than
`zstd-v1.2.3.tar*`. When the tag doesn't match, use the full tag.
2021-03-15 11:59:31 -04:00
Fotis Xenakis
316f3d2224
Run generic-dev:gcc-8-asan-ubsan-testzstd on latest Ubuntu
2021-03-13 11:42:47 +02:00
W. Felix Handte
5d1fec8ce1
Add GitHub Action to Automatically Publish Release Tarballs
...
This commit introduces a GitHub action that is triggered on release creation,
which creates the release tarball, compresses it, hashes it, signs it, and
attaches all of those files to the release.
2021-03-12 12:33:58 -05:00
Yann Collet
3d91ab74a1
disabled icc tests on Github Actions
2021-02-23 13:25:08 -08:00
Yann Collet
9b0772177c
fix ubsan test errors
...
allows recovering from pointer overflow
2021-02-19 10:42:05 -08:00
Yann Collet
134be2731a
removed flackey gcc6 tests
...
from github actions.
replaced by equivalent "current" gcc tests when it makes sense
2021-02-05 09:25:33 -08:00
Yann Collet
9866148e22
removed redundant tests
...
clang v3.8 tests are either flacky or redundant,
prefer using clang-latest.
2021-01-06 15:40:20 -08:00
Yann Collet
f1585fefa2
remove flackey msan ossfuzz test
...
while waiting for it to be fixed
2020-12-28 11:18:58 -08:00
Yann Collet
d4f7d75f84
Merge pull request #2438 from facebook/makej
...
try to keep libzstd.a "as is" once created
2020-12-22 00:31:38 -08:00
Yann Collet
f1225b186e
try to fix 32-bit test on github actions
...
for some reasons, this test fails at _installing_ 32-bit dependencies
using the exact same command that actually works in other tests !!?
It's unclear why it fails repeateadly for this test only.
Try another way to install dependencies to fix that.
2020-12-21 15:47:20 -08:00
Yann Collet
52aa7f47dd
updated clang+msan test
2020-12-20 18:29:36 -08:00
Yann Collet
9a9d3f76c4
fixed zstd+sanitizer build
2020-12-20 17:53:04 -08:00
Yann Collet
eacf1b3bc3
streamlined github action test
2020-12-20 15:03:59 -08:00
Yann Collet
7f09cdc8a8
removed duplicated release-only tests
...
from travisCI
as they are already part of Github Actions
2020-12-18 12:50:36 -08:00
Yann Collet
54cc01c5be
removed tests duplicated between TravisCI and Github Actions
...
reduce load on TravisCI
2020-12-18 11:01:22 -08:00
Yann Collet
3536e9d5ff
removing tests using too much resources for 32-bit address space
2020-12-17 15:44:54 -08:00
Yann Collet
d5eb7d1569
added pre-requisites for 32-bit tests in CI
2020-12-17 15:05:26 -08:00
Yann Collet
c11db9c8b5
additional master->release switches (CI tests)
2020-12-17 15:01:04 -08:00
Yann Collet
4680d817c0
added a simple runtime test in CI for 32-bit binaries
2020-12-17 14:53:36 -08:00
Nick Terrell
bc3cda9b9f
[CI][cmake] Disable --test-large-data and shorten fuzzing time to 2 mins
2020-12-10 13:33:34 -08:00
Nick Terrell
85f8a8ca4d
[CI] Add cmake test for source dirs with spaces
2020-12-10 11:02:48 -08:00
Bimba Shrestha
ac8ded76c7
Using add-apt-repository instead and installing intel-basekit/hpckit
2020-12-05 10:47:21 -06:00
Yann Collet
b15469203f
added tests presumed to break lz4 console detection
2020-11-30 05:32:43 -08:00
Nick Terrell
a70fa342f0
[CI][linux-kernel] Enable -Wunused-const-variable and -Wunused-but-set-variable
2020-09-23 12:59:57 -07:00
W. Felix Handte
e991f9994d
Run Long Tests in GitHub CI
2020-09-17 13:31:10 -04:00
Nick Terrell
29c5de8780
Add linux-kernel freestanding
2020-09-09 14:35:57 -07:00