mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 12:34:35 +03:00
Travis experiment.
This commit is contained in:
49
.travis.yml
49
.travis.yml
@@ -1,41 +1,42 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
compiler:
|
compiler:
|
||||||
- clang
|
- clang
|
||||||
- gcc
|
- gcc
|
||||||
|
|
||||||
|
env:
|
||||||
|
matrix:
|
||||||
|
- BUILD_TYPE="Debug"
|
||||||
|
- BUILD_TYPE="Release"
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
exclude:
|
||||||
|
- os: osx
|
||||||
|
- compiler: gcc
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository ppa:kubuntu-ppa/backports -y
|
- cmake --version
|
||||||
- sudo apt-get -qq update
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo add-apt-repository ppa:kubuntu-ppa/backports -y; fi;
|
||||||
- sudo apt-get -qq install cmake valgrind
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq update; fi;
|
||||||
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get -qq install cmake valgrind; fi;
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- mkdir build_dbg
|
- mkdir build
|
||||||
- mkdir build_rel
|
- cd build
|
||||||
|
- cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE="$BUILD_TYPE" -DASMJIT_BUILD_TEST=1 -DASMJIT_BUILD_SAMPLES=1
|
||||||
- cd build_dbg
|
|
||||||
- cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DASMJIT_BUILD_TEST=1 -DASMJIT_BUILD_SAMPLES=1
|
|
||||||
- cd ..
|
|
||||||
|
|
||||||
- cd build_rel
|
|
||||||
- cmake .. -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DASMJIT_BUILD_TEST=1 -DASMJIT_BUILD_SAMPLES=1
|
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd build_dbg
|
- cd build
|
||||||
- make
|
- make
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
||||||
- cd build_rel
|
- ./build/asmjit_test
|
||||||
- make
|
- ./build/asmjit_test_x86
|
||||||
- cd ..
|
|
||||||
|
|
||||||
- ./build_dbg/asmjit_test
|
|
||||||
- ./build_rel/asmjit_test
|
|
||||||
|
|
||||||
- ./build_dbg/asmjit_test_x86
|
|
||||||
- ./build_rel/asmjit_test_x86
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- valgrind --leak-check=full --show-reachable=yes ./build_dbg/asmjit_test
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then valgrind --leak-check=full --show-reachable=yes ./build/asmjit_test; fi;
|
||||||
- valgrind --leak-check=full --show-reachable=yes ./build_rel/asmjit_test
|
|
||||||
|
|||||||
Reference in New Issue
Block a user