summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2020-04-08 10:39:56 +0300
committerIvan Maidanski <ivmai@mail.ru>2020-04-08 10:44:28 +0300
commit8025dd1a1b59d75ffc91ac55d8c578be79d93c90 (patch)
treefea3d2dbbc7e0d5d82255cd97694442dbb10836c
parent3b69d95c2e9234fd11e43526634ecf525b365b2f (diff)
downloadlibatomic_ops-8025dd1a1b59d75ffc91ac55d8c578be79d93c90.tar.gz
Travis CI: Test with ASan on arm64
Also, a test with -D AO_AARCH64_ASM_LOAD_STORE_CAS is added.
-rw-r--r--.travis.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 34a7c14..0998098 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -490,6 +490,17 @@ jobs:
- addons:
apt:
packages:
+ - clang-8
+ sources:
+ - ubuntu-toolchain-r-test
+ arch: arm64
+ compiler: clang-8
+ env:
+ - CFLAGS_EXTRA="-O3 -D AO_AARCH64_ASM_LOAD_STORE_CAS -D AO_PREFER_BUILTIN_ATOMICS"
+ - TESTS_CUSTOM_RUN=true
+ - addons:
+ apt:
+ packages:
- gcc-9
sources:
- ubuntu-toolchain-r-test
@@ -499,6 +510,17 @@ jobs:
- CFLAGS_EXTRA="-O3 -march=native"
- CONF_OPTIONS="--enable-shared"
- TESTS_CUSTOM_RUN=true
+ - addons:
+ apt:
+ packages:
+ - clang-8
+ sources:
+ - ubuntu-toolchain-r-test
+ arch: arm64
+ compiler: clang-8
+ env:
+ - CFLAGS_EXTRA="-fsanitize=address -fno-omit-frame-pointer"
+ - TESTS_CUSTOM_RUN=true
- arch: ppc64le
compiler: clang
- arch: ppc64le