Skip to content

Commit

Permalink
add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
piggypiggy committed Dec 28, 2020
1 parent 32e25f6 commit 8a93035
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
language: c

matrix:
include:
- os: linux
dist: bionic
arch: arm64
compiler: gcc
env:
- buildtype=-DCMAKE_BUILD_TYPE=Release
- sanitizer=-DUSE_ASAN=ON

- os: linux
dist: focal
arch: arm64
compiler: gcc
env:
- buildtype=-DCMAKE_BUILD_TYPE=Release
- sanitizer=-DUSE_ASAN=ON

- os: linux
dist: focal
arch: arm64
compiler: clang
env:
- buildtype=-DCMAKE_BUILD_TYPE=Debug
- sanitizer=-DUSE_ASAN=ON

- os: linux
dist: focal
arch: arm64
compiler: clang
env:
- buildtype=-DCMAKE_BUILD_TYPE=Release
- sanitizer=-DUSE_ASAN=ON

script:
- mkdir build
- cd build
- cmake $toolchain $buildtype $sanitizer ..
- make VERBOSE=1
- if [ -z "$CROSS" ]; then make test; fi

0 comments on commit 8a93035

Please sign in to comment.