File tree 6 files changed +11
-39
lines changed
6 files changed +11
-39
lines changed Original file line number Diff line number Diff line change 25
25
experimental : true
26
26
steps :
27
27
- uses : actions/checkout@v4
28
- - uses : actions-rs/ toolchain@v1
28
+ - uses : dtolnay/rust- toolchain@master
29
29
with :
30
- profile : minimal
31
30
toolchain : ${{ matrix.rust }}
32
- override : true
33
31
- name : Run tests
34
32
run : cargo test --all --exclude cortex-m-rt --exclude testsuite --features cortex-m/critical-section-single-core
35
33
Original file line number Diff line number Diff line change 16
16
ref : refs/pull/${{ github.event.number }}/head
17
17
- uses : actions/checkout@v4
18
18
if : github.event_name != 'pull_request_target'
19
- - uses : actions-rs/ toolchain@v1
19
+ - uses : dtolnay/rust- toolchain@stable
20
20
with :
21
- profile : minimal
22
- toolchain : stable
23
- override : true
24
21
components : clippy
25
22
- uses : actions-rs/clippy-check@v1
26
23
with :
Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
13
- - uses : actions-rs/toolchain@v1
14
- with :
15
- profile : minimal
16
- toolchain : stable
17
- override : true
13
+ - uses : dtolnay/rust-toolchain@stable
18
14
- name : Run tests
19
15
run : cargo test --all --exclude cortex-m-rt --exclude testsuite
20
16
- uses : imjohnbo/issue-bot@v3
37
33
working-directory : cortex-m-rt
38
34
steps :
39
35
- uses : actions/checkout@v4
40
- - uses : actions-rs/toolchain@v1
41
- with :
42
- profile : minimal
43
- toolchain : stable
44
- override : true
36
+ - uses : dtolnay/rust-toolchain@stable
45
37
- name : Install all Rust targets for stable
46
38
run : rustup target install --toolchain=stable thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv8m.base-none-eabi thumbv8m.main-none-eabi thumbv8m.main-none-eabihf
47
39
- name : Install qemu and gcc
Original file line number Diff line number Diff line change 15
15
runs-on : ubuntu-latest
16
16
steps :
17
17
- uses : actions/checkout@v4
18
- - uses : actions-rs/ toolchain@v1
18
+ - uses : dtolnay/rust- toolchain@stable
19
19
with :
20
- profile : minimal
21
- toolchain : stable
22
- override : true
23
- target : thumbv7m-none-eabi
20
+ targets : thumbv7m-none-eabi
24
21
- name : Build testsuite
25
22
env :
26
23
RUSTFLAGS : -C link-arg=-Tlink.x -D warnings
40
37
runs-on : ubuntu-latest
41
38
steps :
42
39
- uses : actions/checkout@v4
43
- - uses : actions-rs/ toolchain@v1
40
+ - uses : dtolnay/rust- toolchain@stable
44
41
with :
45
- profile : minimal
46
- toolchain : stable
47
- override : true
48
- target : thumbv6m-none-eabi
42
+ targets : thumbv6m-none-eabi
49
43
- name : Modify linkerfile
50
44
run : |
51
45
sed -i 's/FLASH : ORIGIN = 0x00000000, LENGTH = 256K/FLASH : ORIGIN = 0x8000000, LENGTH = 128K/g' memory.x
Original file line number Diff line number Diff line change 24
24
working-directory : cortex-m-rt
25
25
steps :
26
26
- uses : actions/checkout@v4
27
- - uses : actions-rs/ toolchain@v1
27
+ - uses : dtolnay/rust- toolchain@master
28
28
with :
29
- profile : minimal
30
29
toolchain : ${{ matrix.rust }}
31
- override : true
32
30
- name : Install all Rust targets for ${{ matrix.rust }}
33
31
run : rustup target install --toolchain=${{ matrix.rust }} thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv8m.base-none-eabi thumbv8m.main-none-eabi thumbv8m.main-none-eabihf
34
32
- name : Install qemu and gcc
63
61
working-directory : cortex-m-rt
64
62
steps :
65
63
- uses : actions/checkout@v4
66
- - uses : actions-rs/toolchain@v1
67
- with :
68
- profile : minimal
69
- toolchain : stable
70
- override : true
64
+ - uses : dtolnay/rust-toolchain@stable
71
65
- name : Install all Rust targets
72
66
run : rustup target install thumbv6m-none-eabi thumbv7m-none-eabi thumbv7em-none-eabi thumbv7em-none-eabihf thumbv8m.base-none-eabi thumbv8m.main-none-eabi thumbv8m.main-none-eabihf
73
67
- name : Build examples for thumbv6m-none-eabi
Original file line number Diff line number Diff line change 13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- uses : actions/checkout@v4
16
- - uses : actions-rs/ toolchain@v1
16
+ - uses : dtolnay/rust- toolchain@stable
17
17
with :
18
- profile : minimal
19
- toolchain : stable
20
- override : true
21
18
components : rustfmt
22
19
- uses : actions-rs/cargo@v1
23
20
with :
You can’t perform that action at this time.
0 commit comments