|
1 | | -language: c |
2 | | -compiler: gcc |
3 | | -sudo: false |
4 | | -cache: ccache |
5 | | - |
6 | | -jobs: |
7 | | - include: |
8 | | - - name: basic checks and reference configurations |
9 | | - addons: |
10 | | - apt: |
11 | | - packages: |
12 | | - - gnutls-bin |
13 | | - - doxygen |
14 | | - - graphviz |
15 | | - - gcc-arm-none-eabi |
16 | | - - libnewlib-arm-none-eabi |
17 | | - - gcc-arm-linux-gnueabi |
18 | | - - libc6-dev-armel-cross |
19 | | - language: python # Needed to get pip for Python 3 |
20 | | - python: 3.5 # version from Ubuntu 16.04 |
21 | | - install: |
22 | | - - scripts/min_requirements.py |
23 | | - script: |
24 | | - - tests/scripts/all.sh -k 'check_*' |
25 | | - - tests/scripts/all.sh -k test_default_out_of_box |
26 | | - - tests/scripts/all.sh -k test_ref_configs |
27 | | - - tests/scripts/all.sh -k build_arm_linux_gnueabi_gcc_arm5vte build_arm_none_eabi_gcc_m0plus |
| 1 | +# Declare python as our language. This way we get our chosen Python version, |
| 2 | +# and pip is available. Gcc and clang are available anyway. |
| 3 | +dist: jammy |
| 4 | +os: linux |
| 5 | +language: python |
| 6 | +python: 3.10 |
28 | 7 |
|
29 | | - - name: full configuration |
30 | | - os: linux |
31 | | - dist: focal |
32 | | - addons: |
33 | | - apt: |
34 | | - packages: |
35 | | - - clang-10 |
36 | | - - gnutls-bin |
37 | | - script: |
38 | | - # Do a manual build+test sequence rather than using all.sh, |
39 | | - # because there's no all.sh component that does what we want, |
40 | | - # which is a build with Clang >= 10 and ASan, running all the SSL |
41 | | - # testing. |
42 | | - # - The clang executable in the default PATH is Clang 7 on |
43 | | - # Travis's focal instances, but we want Clang >= 10. |
44 | | - # - Running all the SSL testing requires a specific set of |
45 | | - # OpenSSL and GnuTLS versions and we don't want to bother |
46 | | - # with those on Travis. |
47 | | - # So we explicitly select clang-10 as the compiler, and we |
48 | | - # have ad hoc restrictions on SSL testing based on what is |
49 | | - # passing at the time of writing. We will remove these limitations |
50 | | - # gradually. |
51 | | - - make CC=clang-10 CFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined -fno-sanitize-recover=all -O2' LDFLAGS='-Werror -Wall -Wextra -fsanitize=address,undefined -fno-sanitize-recover=all' |
52 | | - - make test |
53 | | - - programs/test/selftest |
54 | | - - tests/scripts/test_psa_constant_names.py |
55 | | - # Exclude a few test cases that are failing mysteriously. |
56 | | - # https://github.com/Mbed-TLS/mbedtls/issues/6660 |
57 | | - - tests/ssl-opt.sh -e 'Fallback SCSV:\ .*list' |
58 | | - # Modern OpenSSL does not support null or ancient ciphers. |
59 | | - - tests/compat.sh -p OpenSSL -e 'NULL\|DES\|RC4' |
60 | | - - tests/scripts/travis-log-failure.sh |
61 | | - # GnuTLS supports CAMELLIA but compat.sh doesn't properly enable it. |
62 | | - # Modern GnuTLS does not support DES. |
63 | | - # One NULL cipher suite is strangely missing in pre-1.2 protocol |
64 | | - # versions (it works with (D)TLS1.2, but don't bother). |
65 | | - - tests/compat.sh -p GnuTLS -e 'CAMELLIA\|DES\|TLS-RSA-WITH-NULL-SHA256' |
66 | | - - tests/scripts/travis-log-failure.sh |
67 | | - - tests/context-info.sh |
| 8 | +cache: ccache |
68 | 9 |
|
69 | | - - name: Windows |
70 | | - os: windows |
71 | | - script: |
72 | | - - scripts/windows_msbuild.bat v141 # Visual Studio 2017 |
73 | | - - visualc/VS2010/x64/Release/selftest.exe --ci |
| 10 | +branches: |
| 11 | + only: |
| 12 | + coverity_scan |
74 | 13 |
|
75 | | -after_failure: |
76 | | -- tests/scripts/travis-log-failure.sh |
| 14 | +install: |
| 15 | + - $PYTHON scripts/min_requirements.py |
77 | 16 |
|
78 | 17 | env: |
79 | 18 | global: |
80 | 19 | - SEED=1 |
81 | | - - secure: "JECCru6HASpKZ0OLfHh8f/KXhKkdrCwjquZghd/qbA4ksxsWImjR7KEPERcaPndXEilzhDbKwuFvJiQX2duVgTGoq745YGhLZIjzo1i8tySkceCVd48P8WceYGz+F/bmY7r+m6fFNuxDSoGGSVeA4Lnjvmm8PFUP45YodDV9no4=" |
82 | | - |
| 20 | + - secure: "GF/Fde5fkm15T/RNykrjrPV5Uh1KJ70cP308igL6Xkk3eJmqkkmWCe9JqRH12J3TeWw2fu9PYPHt6iFSg6jasgqysfUyg+W03knRT5QNn3h5eHgt36cQJiJr6t3whPrRaiM6U9omE0evm+c0cAwlkA3GGSMw8Z+na4EnKI6OFCo=" |
83 | 21 | addons: |
84 | | - apt: |
85 | | - packages: |
86 | | - - gnutls-bin |
87 | 22 | coverity_scan: |
88 | 23 | project: |
89 | 24 | name: "ARMmbed/mbedtls" |
|
0 commit comments