Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
162 changed files
with
27,027 additions
and
4,972 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Set the default behavior | ||
* text eol=lf | ||
|
||
# Explicitly declare source files | ||
*.c text eol=lf | ||
*.h text eol=lf | ||
|
||
# Denote files that should not be modified. | ||
*.odt binary | ||
*.png binary | ||
|
||
# Visual Studio | ||
*.sln text eol=crlf | ||
*.vcxproj* text eol=crlf | ||
*.vcproj* text eol=crlf | ||
*.suo binary | ||
*.rc text eol=crlf | ||
|
||
# Windows | ||
*.bat text eol=crlf | ||
*.cmd text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Object files | ||
*.o | ||
*.ko | ||
|
||
# Libraries | ||
*.lib | ||
*.a | ||
|
||
# Shared objects (inc. Windows DLLs) | ||
*.dll | ||
*.so | ||
*.so.* | ||
*.dylib | ||
*.dSYM # apple | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
lz4 | ||
|
||
# IDE / editors files | ||
.clang_complete | ||
_codelite/ | ||
_codelite_lz4/ | ||
bin/ | ||
*.zip | ||
|
||
# Mac | ||
.DS_Store | ||
*.dSYM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,150 @@ | ||
language: c | ||
compiler: gcc | ||
script: make test-travis | ||
before_install: | ||
- sudo apt-get update -qq | ||
- sudo apt-get install -qq gcc-arm-linux-gnueabi | ||
- sudo apt-get install -qq clang | ||
- sudo apt-get install -qq g++-multilib | ||
- sudo apt-get install -qq gcc-multilib | ||
- sudo apt-get install -qq valgrind | ||
- sudo apt-get install -qq python3 | ||
|
||
env: | ||
- LZ4_TRAVIS_CI_ENV=travis-install | ||
- LZ4_TRAVIS_CI_ENV=examples | ||
- LZ4_TRAVIS_CI_ENV=cmake | ||
- LZ4_TRAVIS_CI_ENV=clangtest | ||
- LZ4_TRAVIS_CI_ENV=sanitize | ||
- LZ4_TRAVIS_CI_ENV=staticAnalyze | ||
- LZ4_TRAVIS_CI_ENV=gpptest | ||
- LZ4_TRAVIS_CI_ENV=armtest | ||
- LZ4_TRAVIS_CI_ENV=versionsTest | ||
- LZ4_TRAVIS_CI_ENV=test-lz4 | ||
- LZ4_TRAVIS_CI_ENV=test-lz4c | ||
- LZ4_TRAVIS_CI_ENV=test-lz4c32 | ||
- LZ4_TRAVIS_CI_ENV=test-fullbench | ||
- LZ4_TRAVIS_CI_ENV=test-fullbench32 | ||
- LZ4_TRAVIS_CI_ENV=test-fuzzer | ||
- LZ4_TRAVIS_CI_ENV=test-fuzzer32 | ||
- LZ4_TRAVIS_CI_ENV=test-frametest | ||
- LZ4_TRAVIS_CI_ENV=test-frametest32 | ||
- LZ4_TRAVIS_CI_ENV=test-mem | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
# OS X Mavericks | ||
- os: osx | ||
install: | ||
- export CC=clang | ||
env: Ubu=OS_X_Mavericks Cmd='make -C tests test-lz4 MOREFLAGS="-Werror -Wconversion -Wno-sign-conversion" && CFLAGS=-m32 make -C tests clean test-lz4-contentSize' COMPILER=clang | ||
|
||
# Container-based 12.04 LTS Server Edition 64 bit (doesn't support 32-bit includes) | ||
- os: linux | ||
sudo: false | ||
env: Ubu=12.04cont Cmd='make -C tests test-lz4 test-lz4c test-fasttest test-fullbench' COMPILER=cc | ||
|
||
- os: linux | ||
sudo: false | ||
env: Ubu=12.04cont Cmd='make -C tests test-frametest test-fuzzer' COMPILER=cc | ||
|
||
- os: linux | ||
sudo: false | ||
env: Ubu=12.04cont Cmd="make gpptest && make clean examples && make clean cmake && make clean travis-install && make clean clangtest" COMPILER=cc | ||
|
||
|
||
# 14.04 LTS Server Edition 64 bit | ||
- env: Ubu=14.04 Cmd='make -C tests test MOREFLAGS=-mx32' COMPILER=cc | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- libc6-dev-i386 | ||
- gcc-multilib | ||
|
||
- env: Ubu=14.04 Cmd='make usan' COMPILER=clang | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- clang | ||
|
||
- env: Ubu=14.04 Cmd='make c_standards && make -C tests test-lz4 test-mem' COMPILER=cc | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- valgrind | ||
|
||
- env: Ubu=14.04 Cmd='make -C tests test-lz4c32 test-fullbench32 versionsTest' COMPILER=cc | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- python3 | ||
- libc6-dev-i386 | ||
- gcc-multilib | ||
|
||
- env: Ubu=14.04 Cmd='make -C tests test-frametest32 test-fuzzer32' COMPILER=cc | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- libc6-dev-i386 | ||
- gcc-multilib | ||
|
||
- env: Ubu=14.04 Cmd='make c_standards CC=gcc-6 && make -C tests test-lz4 CC=gcc-6 MOREFLAGS=-Werror' COMPILER=gcc-6 | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- gcc-6 | ||
|
||
- env: Ubu=14.04 Cmd='make platformTest CC=arm-linux-gnueabi-gcc QEMU_SYS=qemu-arm-static && make platformTest CC=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static' COMPILER=arm-linux-gnueabi-gcc | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- qemu-system-arm | ||
- qemu-user-static | ||
- gcc-arm-linux-gnueabi | ||
- libc6-dev-armel-cross | ||
- gcc-aarch64-linux-gnu | ||
- libc6-dev-arm64-cross | ||
|
||
- env: Ubu=14.04 Cmd='make -C tests test-lz4 clean test-lz4c32 CC=gcc-5 MOREFLAGS=-Werror' COMPILER=gcc-5 | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- libc6-dev-i386 | ||
- gcc-multilib | ||
- gcc-5 | ||
- gcc-5-multilib | ||
|
||
- env: Ubu=14.04 Cmd='make -C tests test-lz4 CC=clang-3.8' COMPILER=clang-3.8 | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
- llvm-toolchain-precise-3.8 | ||
packages: | ||
- clang-3.8 | ||
|
||
- env: Ubu=14.04 Cmd='make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc-static && make platformTest CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static MOREFLAGS=-m64' COMPILER=powerpc-linux-gnu-gcc | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- qemu-system-ppc | ||
- qemu-user-static | ||
- gcc-powerpc-linux-gnu | ||
|
||
- env: Ubu=14.04 Cmd='make staticAnalyze' COMPILER=clang | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
packages: | ||
- clang | ||
|
||
- env: Ubu=14.04 Cmd='make clean all CC=gcc-4.4 MOREFLAGS=-Werror && make clean && CFLAGS=-fPIC LDFLAGS="-pie -fPIE -D_FORTIFY_SOURCE=2" make -C programs' COMPILER=gcc-4.4 | ||
dist: trusty | ||
sudo: required | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- libc6-dev-i386 | ||
- gcc-multilib | ||
- gcc-4.4 | ||
|
||
script: | ||
- echo Cmd=$Cmd | ||
- $COMPILER -v | ||
- sh -c "$Cmd" |
Oops, something went wrong.