mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Add iOS testing to Travis
This commit is contained in:
parent
24bc2b8567
commit
e5b1be035e
41
.travis.yml
41
.travis.yml
@ -26,7 +26,8 @@ env:
|
|||||||
- BUILD_MODE="no-asm"
|
- BUILD_MODE="no-asm"
|
||||||
- BUILD_MODE="asan"
|
- BUILD_MODE="asan"
|
||||||
- BUILD_MODE="ubsan"
|
- BUILD_MODE="ubsan"
|
||||||
- BUILD_MODE="codecov"
|
- BUILD_MODE="ios-arm"
|
||||||
|
- BUILD_MODE="ios-arm64"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
|
||||||
@ -34,9 +35,19 @@ matrix:
|
|||||||
# Skip GCC on OS X entirely
|
# Skip GCC on OS X entirely
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
# CodeCov crashes under Clang
|
# Skip UBsan due to GCC 4.8
|
||||||
- compiler: clang
|
- os: linux
|
||||||
env: BUILD_MODE="codecov"
|
compiler: gcc
|
||||||
|
env: BUILD_MODE="ubsan"
|
||||||
|
# Skip UBsan due to Clang 3.4
|
||||||
|
- os: osx
|
||||||
|
compiler: clang
|
||||||
|
env: BUILD_MODE="ubsan"
|
||||||
|
# No iOS builds on Linux
|
||||||
|
- os: linux
|
||||||
|
env: BUILD_MODE="ios-arm"
|
||||||
|
- os: linux
|
||||||
|
env: BUILD_MODE="ios-arm64"
|
||||||
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
# Ignore problems with old toolchains
|
# Ignore problems with old toolchains
|
||||||
@ -44,10 +55,20 @@ matrix:
|
|||||||
- env: BUILD_MODE="asan"
|
- env: BUILD_MODE="asan"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- make "$BUILD_MODE" && ./cryptest.exe v && ./cryptest.exe tv all
|
- |
|
||||||
|
if [[ "$BUILD_MODE" == "ios-arm" ]]; then
|
||||||
after_success:
|
cp ./TestScripts/setenv-ios.sh .
|
||||||
- if [[ ( ("$BUILD_MODE" = "coverage") && ("$CC" = "gcc") ) ]]; then CODECOV_TOKEN="5c7bc59c-e95f-4594-82c3-33e7a1942592" bash <(curl -s https://codecov.io/bash); fi;
|
. ./setenv-ios.sh arm
|
||||||
|
make -f GNUmakefile-cross
|
||||||
|
elif [[ "$BUILD_MODE" == "ios-arm64" ]]; then
|
||||||
|
cp ./TestScripts/setenv-ios.sh .
|
||||||
|
. ./setenv-ios.sh arm64
|
||||||
|
make -f GNUmakefile-cross
|
||||||
|
else
|
||||||
|
make "$BUILD_MODE"
|
||||||
|
./cryptest.exe v
|
||||||
|
./cryptest.exe tv all
|
||||||
|
fi
|
||||||
|
|
||||||
# whitelist branches to avoid testing feature branches twice
|
# whitelist branches to avoid testing feature branches twice
|
||||||
branches:
|
branches:
|
||||||
@ -55,7 +76,7 @@ branches:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
sonarqube: true
|
sonarcloud: true
|
||||||
|
|
||||||
coverity_scan:
|
coverity_scan:
|
||||||
project:
|
project:
|
||||||
@ -67,4 +88,4 @@ notifications:
|
|||||||
recipients:
|
recipients:
|
||||||
- cryptopp-build@googlegroups.com
|
- cryptopp-build@googlegroups.com
|
||||||
on_success: always # default: change
|
on_success: always # default: change
|
||||||
on_failure: always # default: always
|
on_failure: always # default: always
|
||||||
|
Loading…
Reference in New Issue
Block a user