mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-22 05:28:00 +00:00
Travis: split the build into three parallel jobs
Split the build between: * Basic checks * A build in the default configuration with extensive tests * Builds in other configurations with less testing The intent is to have one shorter job with basic tests, and two longer jobs that take roughly the same amount of time (split as evenly as possible while keeping an easy-to-understand separation). Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
f2cf40ba1a
commit
7c4912d758
11
.travis.yml
11
.travis.yml
|
@ -3,6 +3,9 @@ compiler: gcc
|
||||||
sudo: false
|
sudo: false
|
||||||
cache: ccache
|
cache: ccache
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- name: basic checks
|
||||||
script:
|
script:
|
||||||
- tests/scripts/recursion.pl library/*.c
|
- tests/scripts/recursion.pl library/*.c
|
||||||
- tests/scripts/check-generated-files.sh
|
- tests/scripts/check-generated-files.sh
|
||||||
|
@ -10,17 +13,25 @@ script:
|
||||||
- tests/scripts/check-names.sh
|
- tests/scripts/check-names.sh
|
||||||
- tests/scripts/check-files.py
|
- tests/scripts/check-files.py
|
||||||
- tests/scripts/doxygen.sh
|
- tests/scripts/doxygen.sh
|
||||||
|
|
||||||
|
- name: default configuration
|
||||||
|
script:
|
||||||
- cmake -D CMAKE_BUILD_TYPE:String="Check" .
|
- cmake -D CMAKE_BUILD_TYPE:String="Check" .
|
||||||
- make
|
- make
|
||||||
- make test
|
- make test
|
||||||
- programs/test/selftest
|
- programs/test/selftest
|
||||||
- OSSL_NO_DTLS=1 tests/compat.sh
|
- OSSL_NO_DTLS=1 tests/compat.sh
|
||||||
- tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
|
- tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
|
||||||
|
|
||||||
|
- name: enumerated configurations
|
||||||
|
script:
|
||||||
- tests/scripts/test-ref-configs.pl
|
- tests/scripts/test-ref-configs.pl
|
||||||
- tests/scripts/curves.pl
|
- tests/scripts/curves.pl
|
||||||
- tests/scripts/key-exchanges.pl
|
- tests/scripts/key-exchanges.pl
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- tests/scripts/travis-log-failure.sh
|
- tests/scripts/travis-log-failure.sh
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- SEED=1
|
- SEED=1
|
||||||
|
|
Loading…
Reference in a new issue