mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 00:45:39 +00:00
Test multiple architectures
Run several builds on each available architecture. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
523f0554b6
commit
7da88b279a
55
.travis.yml
55
.travis.yml
|
@ -3,54 +3,17 @@ compiler: gcc
|
||||||
sudo: false
|
sudo: false
|
||||||
cache: ccache
|
cache: ccache
|
||||||
|
|
||||||
jobs:
|
arch:
|
||||||
include:
|
- amd64
|
||||||
- name: basic checks and reference configurations
|
- ppc64le
|
||||||
addons:
|
- s390x
|
||||||
apt:
|
- arm64
|
||||||
packages:
|
|
||||||
- gnutls-bin
|
|
||||||
- doxygen
|
|
||||||
- graphviz
|
|
||||||
- gcc-arm-none-eabi
|
|
||||||
- libnewlib-arm-none-eabi
|
|
||||||
language: python # Needed to get pip for Python 3
|
|
||||||
python: 3.5 # version from Ubuntu 16.04
|
|
||||||
install:
|
|
||||||
- pip install pylint==2.4.4
|
|
||||||
script:
|
|
||||||
- tests/scripts/all.sh -k 'check_*'
|
|
||||||
- tests/scripts/all.sh -k test_default_out_of_box
|
|
||||||
- tests/scripts/test-ref-configs.pl
|
|
||||||
- tests/scripts/all.sh -k build_arm_none_eabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus
|
|
||||||
|
|
||||||
- name: full configuration
|
script:
|
||||||
script:
|
- tests/scripts/all.sh -k test_default_out_of_box
|
||||||
|
- tests/scripts/all.sh -k test_build_opt
|
||||||
- tests/scripts/all.sh -k test_full_cmake_gcc_asan
|
- tests/scripts/all.sh -k test_full_cmake_gcc_asan
|
||||||
|
- tests/scripts/all.sh -k test_m32_o1
|
||||||
- name: check compilation guards
|
|
||||||
script:
|
|
||||||
- tests/scripts/all.sh -k 'test_depends_*' 'build_key_exchanges'
|
|
||||||
|
|
||||||
- name: macOS
|
|
||||||
os: osx
|
|
||||||
compiler: clang
|
|
||||||
script:
|
|
||||||
- tests/scripts/all.sh -k test_default_out_of_box
|
|
||||||
|
|
||||||
- name: Windows
|
|
||||||
os: windows
|
|
||||||
before_install:
|
|
||||||
- choco install python --version=3.5.4
|
|
||||||
env:
|
|
||||||
# Add the directory where the Choco package goes
|
|
||||||
- PATH=/c/Python35:/c/Python35/Scripts:$PATH
|
|
||||||
script:
|
|
||||||
- type python; python --version
|
|
||||||
- python scripts/generate_psa_constants.py
|
|
||||||
# Logs appear out of sequence on Windows. Give time to catch up.
|
|
||||||
- sleep 5
|
|
||||||
- scripts/windows_msbuild.bat v141 # Visual Studio 2017
|
|
||||||
|
|
||||||
after_failure:
|
after_failure:
|
||||||
- tests/scripts/travis-log-failure.sh
|
- tests/scripts/travis-log-failure.sh
|
||||||
|
|
Loading…
Reference in a new issue