Commit Graph

89 Commits

Author SHA1 Message Date
Yann Collet
c661adda10 fixed x32 test on Travis 2020-10-02 15:43:46 -07:00
Yann Collet
3e3a006c6f Merge branch 'dev' into extraInput 2020-08-26 23:20:28 -07:00
Yann Collet
184a487d0d added target aarch64, ppc64lw and s390x to TravisCI
more portability tests
2020-08-21 18:12:13 -07:00
Yann Collet
f18dbeb8b5 Merge branch 'dev' into extraInput 2020-08-18 15:34:51 -07:00
Yann Collet
f9f3fdfb1c added test decompress-partial with extraneous input bytes
fails currently,
for investigation of #783
2020-08-12 14:39:01 -07:00
Yann Collet
3dd34df751 added target lz4-wlib
variant of lz4 linking to liblz4 dynamic library

requires the dynamic library to expose static-only symbols (experimental API)

Example for #888
2020-08-11 14:07:51 -07:00
Yann Collet
6654c2cd3b ensure conformance with custom LZ4_DISTANCE_MAX
It's now possible to select a custom LZ4_DISTANCE_MAX at compile time,
provided it's <= 65535.

However, in some cases (when compressing in byU16 mode),
the new distance wasn't respected,
as it used to implied that it was necessarily within range.

Added a distance check for this case.
Also : added a new TravisCI test which ensures that
custom LZ4_DISTANCE_MAX compiles correctly
and compresses correctly (relying on `assert()` to find outsized offsets).
2019-07-15 12:11:34 -07:00
Yann Collet
9dc5981368
Merge pull request #739 from cmeister2/cmeister2/ossfuzz
oss-fuzz: Add a fuzzing target that compiles in the oss-fuzz environment
2019-06-30 13:05:15 -07:00
Yann Collet
40bd6164bb
Merge pull request #741 from lzutao/meson-deprecated-warn
meson: Fix deprecated warnings on build options
2019-06-30 11:33:38 -07:00
Lzu Tao
84f98dd316 meson: Rename options in travis config 2019-06-29 20:54:39 +07:00
Yann Collet
3b917ef6e6 travisCI: added ASAN fuzzer tests
and fixed minor formatting warnings
2019-06-28 20:55:47 -07:00
Max Dymond
a5cf079d4d
Add a fuzzing target that compiles in the oss-fuzz environment 2019-06-28 08:30:02 +01:00
Lzu Tao
cb1be75c84 meson: Rely only on extracted version in lz4.h
So now instead of warning when failing to extract version number
from lz4.h, we error and stop the build instead.
2019-04-30 12:25:40 +07:00
Lzu Tao
dd54ea01a2 contrib: Make Meson build non optional
* Update ninja version to 1.9 in CI.
* Update default project version in meson script.
2019-04-27 01:41:03 +07:00
Yann Collet
2b68501ece added library build test on Mac OS-X 2019-04-23 12:29:39 -07:00
Yann Collet
22fae16c6f ensure tests work when stdout is not the console
ensure this case is continuously tested on travis.

Update documentation on implicit output,
invite to not rely on implicit output in scripts.
2019-04-21 17:01:03 -07:00
Lzu Tao
c99b64af86 travis: Prefer apt-get in install field than addons-apt-sources 2019-01-11 04:17:34 +07:00
Lzu Tao
7fe378fc70 travis: Prefer script field than Cmd env 2019-01-11 04:17:34 +07:00
Lzu Tao
7b6ccfe52c meson: Use clang for faster build
"ninja install" automatically builds the project, no need to
use "ninja"
2018-12-03 22:48:37 +07:00
Lzu Tao
9f87365de5 Add Travis meson build 2018-12-02 10:00:27 +07:00
Yann Collet
5a10ed2f7b added cppcheck
as Makefile target and Travis CI test.

Fixed last cppcheck warnings in tests and examples
2018-09-18 16:52:02 -07:00
W. Felix Handte
c746a27e91 Test Linking C-Compiled Library and C++-Compiled Tests 2018-05-21 22:29:20 -04:00
Cyan4973
98811d6068 added sudo rights for low-mem-address tests 2018-04-13 00:59:27 -07:00
test4973
038a0d95bf added low-memory address test to travis
requires modification linux configuration (sudo)
2018-04-05 18:39:22 -07:00
Yann Collet
d1ccd620d6 travisci : ensure "clean" betweeb 2 tests 2018-01-31 17:16:48 -08:00
Yann Collet
b077a99347 added checkTag
checkTag verifies that provided tag and library version match.
It's started automatically in circleCI when a new tag is created.
2018-01-14 16:57:25 -08:00
Yann Collet
dfed9fa1d7 restored .travis 2018-01-14 00:21:43 -08:00
Yann Collet
99302c43b4 revert project name 2018-01-13 21:40:04 -08:00
Yann Collet
8e50feca14 minor name update 2018-01-13 21:14:36 -08:00
Yann Collet
7628d9d15a coverity for travis 2016-11-21 19:58:37 -08:00
Yann Collet
a7b3e01525 removed travis file 2016-11-21 19:58:37 -08:00
Yann Collet
3bde02a059 added gcc 4.4 test 2016-11-21 15:04:58 -08:00
Yann Collet
2dbcebfdac changes travis test order 2016-11-21 11:10:57 -08:00
Yann Collet
519932afaf attempt -mx32 tests on Travis CI 2016-11-18 17:16:51 -08:00
Yann Collet
6cabcd151f removed usan32 tests.
Let's summarize : gcc-5 and gcc-6 on Travis do not support UB sanitizer.
And clang on Travis is not able to generate -m32 code.
Great. It makes the combination impossible to test on Travis ... :(
2016-11-17 19:28:20 -08:00
Yann Collet
7a22904a72 moved usan32 tests to gcc-6 2016-11-17 19:21:52 -08:00
Yann Collet
a4f4bf21eb fixed gcc-5 conf 2016-11-17 18:59:14 -08:00
Yann Collet
71814a26f2 switch usan32 tests to gcc-5 2016-11-17 18:41:26 -08:00
Yann Collet
8e1ea59ad6 attempt to fix sanitize32 package dependency 2016-11-17 18:30:46 -08:00
Yann Collet
8f536a43b1 added sanitize32 tests to Travis 2016-11-17 18:08:28 -08:00
Yann Collet
c0e55ec05f fixed versionsTest 2016-11-17 14:54:30 -08:00
Yann Collet
279344a177 fixed Travis test cases 2016-11-17 14:02:01 -08:00
Yann Collet
1abecbc33c fix 32-bits mode.
Large File support for Mac OS-X in 32-bits mode
Fixed potential undefined behavior
Changed makefile for 32-bits mode
2016-11-17 13:02:06 -08:00
Yann Collet
d613e24945 restored .travis.yml 2016-11-15 14:49:21 -08:00
Yann Collet
8c32a12f1c .travis.yml for coverity 2016-11-15 13:01:50 -08:00
Yann Collet
2eddc8ea2c removed .travis.yml, for better rebase 2016-11-15 13:01:23 -08:00
Yann Collet
5a5ebeec15 clang and g++ tests restricted to native only on Travis CI Ubuntu v12 environment 2016-11-14 08:51:28 -08:00
Przemyslaw Skibinski
52251d9709 Using MinGW+MSYS to create DLL 2016-11-10 18:30:59 +01:00
Przemyslaw Skibinski
72a4a84df7 udated README.md 2016-11-10 17:49:42 +01:00
Przemyslaw Skibinski
d57d3e4b4d better MSYS/MinGW support 2016-11-10 14:43:51 +01:00