File tree Expand file tree Collapse file tree 1 file changed +24
-16
lines changed Expand file tree Collapse file tree 1 file changed +24
-16
lines changed Original file line number Diff line number Diff line change 27
27
- rust : beta
28
28
features :
29
29
- rust : nightly
30
- bench : 1
30
+ bench : test build benchmarks
31
31
- rust : nightly
32
32
features : test_low_transition_point
33
- - rust : 1.36.0
34
- target : thumbv6m-none-eabi
35
- features :
36
- - rust : stable
37
- target : thumbv6m-none-eabi
38
- features :
39
33
40
34
steps :
41
35
- uses : actions/checkout@v2
44
38
profile : minimal
45
39
toolchain : ${{ matrix.rust }}
46
40
override : true
47
- - name : Add target
48
- run : rustup target add ${{ matrix.target }}
49
- if : matrix.target != ''
50
- - name : Tests (custom target)
51
- if : matrix.target != ''
52
- run : |
53
- cargo build -vv --target=${{ matrix.target }}
54
- cargo build -v -p test-nostd --target=${{ matrix.target }}
55
41
- name : Tests
56
- if : matrix.target == ''
57
42
run : |
58
43
cargo build --verbose --features "${{ matrix.features }}"
59
44
cargo doc --verbose --features "${{ matrix.features }}"
67
52
if : matrix.bench != ''
68
53
run : cargo test -v --benches
69
54
55
+ nostd_build :
56
+ runs-on : ubuntu-latest
57
+ strategy :
58
+ matrix :
59
+ include :
60
+ - rust : 1.36.0
61
+ target : thumbv6m-none-eabi
62
+ - rust : stable
63
+ target : thumbv6m-none-eabi
64
+
65
+ steps :
66
+ - uses : actions/checkout@v2
67
+ - uses : actions-rs/toolchain@v1
68
+ with :
69
+ profile : minimal
70
+ toolchain : ${{ matrix.rust }}
71
+ override : true
72
+ target : ${{ matrix.target }}
73
+ - name : Tests
74
+ run : |
75
+ cargo build -vv --target=${{ matrix.target }}
76
+ cargo build -v -p test-nostd --target=${{ matrix.target }}
77
+
70
78
clippy :
71
79
runs-on : ubuntu-latest
72
80
strategy :
You can’t perform that action at this time.
0 commit comments