File tree Expand file tree Collapse file tree 1 file changed +9
-27
lines changed Expand file tree Collapse file tree 1 file changed +9
-27
lines changed Original file line number Diff line number Diff line change @@ -16,33 +16,15 @@ jobs:
16
16
17
17
steps :
18
18
- uses : actions/checkout@v3
19
- - uses : actions-rs/toolchain@v1
20
- with :
21
- toolchain : stable
22
- target : thumbv6m-none-eabi
23
- override : true
24
- profile : minimal
25
- - name : Build
19
+ - name : Build crate
26
20
run : cargo build --verbose
27
- - uses : actions-rs/cargo@v1
28
- with :
29
- command : build
30
- args : --examples
31
- toolchain : stable
32
- target : thumbv6m-none-eabi
33
- override : true
34
- profile : minimal
35
- - run : echo "Debug examples built:" && ls target/thumbv6m-none-eabi/debug/examples/ |grep -v '-' |grep -v '\.d'
36
- - run : rm target/thumbv6m-none-eabi/debug/examples/ -rf
37
- - uses : actions-rs/cargo@v1
38
- with :
39
- command : build
40
- args : --release --examples
41
- toolchain : stable
42
- target : thumbv6m-none-eabi
43
- override : true
44
- profile : minimal
45
- - run : echo "Release examples built:" && ls target/thumbv6m-none-eabi/release/examples/ |grep -v '-' |grep -v '\.d'
46
- - run : rm target/thumbv6m-none-eabi/release/examples/ -rf
21
+ - name : Build debug examples
22
+ run : cargo build --verbose --examples
23
+ # - run: echo "Debug examples built:" && ls target/thumbv6m-none-eabi/debug/examples/ |grep -v '-' |grep -v '\.d'
24
+ # - run: rm target/thumbv6m-none-eabi/debug/examples/ -rf
25
+ - name : Build release examples
26
+ run : cargo build --verbose --release --examples
27
+ # - run: echo "Release examples built:" && ls target/thumbv6m-none-eabi/release/examples/ |grep -v '-' |grep -v '\.d'
28
+ # - run: rm target/thumbv6m-none-eabi/release/examples/ -rf
47
29
- name : Run tests
48
30
run : cargo test --verbose
You can’t perform that action at this time.
0 commit comments