File tree 5 files changed +22
-56
lines changed
5 files changed +22
-56
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,14 @@ jobs:
12
12
strategy :
13
13
matrix :
14
14
include :
15
- - rust : stable
16
- features : thumbv6
15
+ - features : thumbv6
17
16
nodefault : " --no-default-features"
18
- - rust : stable
19
- features : " "
17
+ - features : " "
20
18
nodefault : " "
21
19
22
20
steps :
23
- - uses : actions/checkout@v2
24
- - uses : actions-rs/toolchain@v1
25
- with :
26
- profile : minimal
27
- toolchain : ${{ matrix.rust }}
21
+ - uses : actions/checkout@v4
22
+ - uses : dtolnay/rust-toolchain@stable
28
23
- uses : actions-rs/cargo@v1
29
24
with :
30
25
command : test
Original file line number Diff line number Diff line change @@ -14,20 +14,13 @@ jobs:
14
14
include :
15
15
- features : " "
16
16
target : thumbv7em-none-eabihf
17
- rust : stable
18
17
- feature : thumbv6
19
18
target : thumbv6m-none-eabi
20
- rust : stable
21
19
22
20
steps :
23
- - uses : actions/checkout@v2
24
- - uses : actions-rs/ toolchain@v1
21
+ - uses : actions/checkout@v4
22
+ - uses : dtolnay/rust- toolchain@stable
25
23
with :
26
- profile : minimal
27
- toolchain : ${{ matrix.rust }}
28
- - run : rustup target add thumbv7em-none-eabihf thumbv6m-none-eabi
24
+ targets : thumbv6m-none-eabi, thumbv7em-none-eabihf
29
25
30
- - uses : actions-rs/cargo@v1
31
- with :
32
- command : build
33
- args : --manifest-path core/Cargo.toml --no-default-features --features=${{ matrix.feature }} --target=${{ matrix.target }}
26
+ - run : cargo build --manifest-path core/Cargo.toml --no-default-features --features=${{ matrix.feature }} --target=${{ matrix.target }}
Original file line number Diff line number Diff line change 11
11
name : Rustfmt
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - uses : actions/checkout@v2
15
- - uses : actions-rs/ toolchain@v1
14
+ - uses : actions/checkout@v4
15
+ - uses : dtolnay/rust- toolchain@stable
16
16
with :
17
- profile : minimal
18
- toolchain : stable
19
- override : true
20
17
components : rustfmt
21
- - uses : actions-rs/cargo@v1
22
- with :
23
- command : fmt
24
- args : --all -- --check
18
+ - run : cargo fmt --all -- --check
Original file line number Diff line number Diff line change @@ -12,19 +12,10 @@ jobs:
12
12
strategy :
13
13
matrix :
14
14
include :
15
- - rust : stable
16
- build : " "
17
- - rust : stable
18
- build : " --release"
15
+ - build : " "
16
+ - build : " --release"
19
17
20
18
steps :
21
- - uses : actions/checkout@v2
22
- - uses : actions-rs/toolchain@v1
23
- with :
24
- profile : minimal
25
- toolchain : ${{ matrix.rust }}
26
-
27
- - uses : actions-rs/cargo@v1
28
- with :
29
- command : test
30
- args : ${{ matrix.build }} --features=short-potato --manifest-path bbqtest/Cargo.toml -- --nocapture
19
+ - uses : actions/checkout@v4
20
+ - uses : dtolnay/rust-toolchain@stable
21
+ - run : cargo test ${{ matrix.build }} --features=short-potato --manifest-path bbqtest/Cargo.toml -- --nocapture
Original file line number Diff line number Diff line change @@ -12,24 +12,17 @@ jobs:
12
12
strategy :
13
13
matrix :
14
14
include :
15
- - rust : nightly
16
- build : " "
17
- - rust : nightly
18
- build : " --release"
15
+ - build : " "
16
+ - build : " --release"
19
17
20
18
steps :
21
- - uses : actions/checkout@v2
22
- - uses : actions-rs/ toolchain@v1
19
+ - uses : actions/checkout@v4
20
+ - uses : dtolnay/rust- toolchain@stable
23
21
with :
24
- profile : minimal
22
+ toolchain : nightly
25
23
components : rust-src
26
- toolchain : ${{ matrix.rust }}
27
24
28
- - uses : actions-rs/cargo@v1
29
- with :
30
- command : test
31
- toolchain : nightly
32
- args : ${{ matrix.build }} --features=short-potato --manifest-path bbqtest/Cargo.toml -Zbuild-std --target x86_64-unknown-linux-gnu -- --nocapture
25
+ - run : cargo test ${{ matrix.build }} --features=short-potato --manifest-path bbqtest/Cargo.toml -Zbuild-std --target x86_64-unknown-linux-gnu -- --nocapture
33
26
env :
34
27
RUSTFLAGS : " -Z sanitizer=thread"
35
28
RUST_TEST_THREADS : 1
You can’t perform that action at this time.
0 commit comments