diff options
author | Fangming.Fang <fangming.fang@arm.com> | 2019-11-15 07:47:22 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-12-11 19:26:38 +0100 |
commit | 7a930005adc470ffaa49dbef04010e77d76e0363 (patch) | |
tree | 3352308a0fcde1c66d5c5175351fe5cd53bdc453 | |
parent | 3814dfe8df847d49f8040b3b9cbad4a8a494d46b (diff) |
Enrich arm64 tests in Travis matrix
1, Remove simple test just with --strict-warnings enabled.
2, Share the three common envs with amd64.
3, Add matrix item running test in bionic(default xenial) for arm64.
4, Enable MSan test on arm64 for extended test.
5, Enable UBSan test on arm64 for extended test.
Change-Id: Ic1f2c5e39ee6fbafed6ede74a925301121463520
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10519)
(cherry picked from commit 77fedcdc8cf5446354a1e7ff9123d8ada5b79b06)
-rw-r--r-- | .travis.yml | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 5e760e5f72..98c9ac1c6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,11 @@ before_install: - if expr "$CONFIG_OPTS" ":" ".*enable-external-tests" > /dev/null; then git submodule update --init --recursive; fi; + - eval "${MATRIX_EVAL}" + +arch: + - amd64 + - arm64 os: - linux @@ -34,8 +39,25 @@ matrix: include: - os: linux arch: arm64 - compiler: gcc - env: CONFIG_OPTS="--strict-warnings" + dist: bionic + compiler: clang + env: CONFIG_OPTS="--strict-warnings -D__NO_STRING_INLINES no-deprecated" BUILDONLY="yes" + - os: linux + arch: arm64 + compiler: clang + addons: + apt: + packages: + - clang-6.0 + env: EXTENDED_TEST="yes" CONFIG_OPTS="enable-msan disable-afalgeng -D__NO_STRING_INLINES -Wno-unused-command-line-argument" MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" + - os: linux + arch: arm64 + compiler: clang + addons: + apt: + packages: + - clang-6.0 + env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-nextprotoneg no-shared enable-buildtest-c++ -fno-sanitize=alignment -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -D__NO_STRING_INLINES -Wno-unused-command-line-argument" MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0" - os: linux arch: s390x compiler: gcc @@ -148,6 +170,8 @@ matrix: compiler: clang - os: osx compiler: gcc + - arch: arm64 + os: osx before_script: - env |