15
15
rust : [stable]
16
16
17
17
# All vendor files we want to test on stable
18
- VENDOR : [rustfmt, Atmel, Freescale, Fujitsu, Holtek, Microchip, Nordic, Nuvoton, NXP, RISC-V, SiliconLabs, Spansion, STMicro, Toshiba]
18
+ vendor : [rustfmt, Atmel, Freescale, Fujitsu, Holtek, Microchip, Nordic, Nuvoton, NXP, RISC-V, SiliconLabs, Spansion, STMicro, Toshiba]
19
19
20
20
# The default target we're compiling on and for
21
21
TARGET : [x86_64-unknown-linux-gnu]
@@ -25,33 +25,35 @@ jobs:
25
25
26
26
FEATURES : [""]
27
27
28
- OPTIONS : [""]
29
-
28
+ # Options are all, none, strict and const
29
+ options : [all, none]
30
+ exclude :
31
+ - vendor : Fujitsu
32
+ options : all
33
+ - vendor : Spansion
34
+ options : all
35
+ - vendor : STMicro
36
+ options : all
37
+ - vendor : Nuvoton
38
+ options : all
30
39
include :
31
40
# Test MSRV
32
41
- rust : 1.46.0
33
- VENDOR : Nordic
34
- TARGET : x86_64-unknown-linux-gnu
35
- TRAVIS_OS_NAME : linux
36
-
37
- # Test features
38
- - rust : 1.51.0
39
- VENDOR : RISC-V
42
+ vendor : Nordic
40
43
TARGET : x86_64-unknown-linux-gnu
41
44
TRAVIS_OS_NAME : linux
42
- OPTIONS : " --const_generic --strict"
43
45
44
46
# Use nightly for architectures which don't support stable
45
47
- rust : nightly
46
48
experimental : true
47
- VENDOR : OTHER
49
+ vendor : OTHER
48
50
TARGET : x86_64-unknown-linux-gnu
49
51
TRAVIS_OS_NAME : linux
50
52
51
53
# Use nightly for architectures which don't support stable
52
54
- rust : nightly
53
55
experimental : true
54
- VENDOR : Espressif
56
+ vendor : Espressif
55
57
TARGET : x86_64-unknown-linux-gnu
56
58
TRAVIS_OS_NAME : linux
57
59
74
76
target : ${{ matrix.TARGET }}
75
77
override : true
76
78
components : rustfmt
77
- - name : Run CI script for ${{ matrix.VENDOR }} under ${{ matrix.rust }}
78
- run : TARGET=${{ matrix.TARGET }} VENDOR=${{ matrix.VENDOR }} TRAVIS_OS_NAME=${{ matrix.TRAVIS_OS_NAME }} FEATURES=${{ matrix.FEATURES }} OPTIONS=${{ matrix.OPTIONS }} bash ci/script.sh
79
+ - name : Run CI script for `${{ matrix.vendor }}` under rust `${{ matrix.rust }}` with options=`${{ matrix.options }}`
80
+ env :
81
+ TARGET : ${{ matrix.TARGET }}
82
+ VENDOR : ${{ matrix.vendor }}
83
+ FEATURES : ${{ matrix.FEATURES }}
84
+ OPTIONS : ${{ matrix.options }}
85
+ TRAVIS_OS_NAME : ${{ matrix.TRAVIS_OS_NAME }}
86
+ run : bash ci/script.sh
0 commit comments