@@ -14,60 +14,45 @@ jobs:
14
14
matrix :
15
15
rust : [1.8.0, 1.15.0, 1.20.0, 1.26.0, 1.31.0, stable, beta, nightly]
16
16
steps :
17
- - name : Rust install
18
- uses : dtolnay/rust-toolchain@master
17
+ - uses : actions/checkout@v3
18
+ - uses : dtolnay/rust-toolchain@master
19
19
with :
20
20
toolchain : ${{ matrix.rust }}
21
- - name : Checkout
22
- uses : actions/checkout@v3
23
- - name : Build
24
- run : cargo build
25
- - name : Test
26
- run : ./ci/test_full.sh
21
+ - run : cargo build
22
+ - run : ./ci/test_full.sh
27
23
28
24
# i586 presents floating point challenges for lack of SSE/SSE2
29
25
i586 :
30
26
name : Test (i586)
31
27
runs-on : ubuntu-latest
32
28
steps :
33
- - name : System install
34
- run : |
29
+ - run : |
35
30
sudo apt-get update
36
31
sudo apt-get install gcc-multilib
37
- - name : Rust install
38
- uses : dtolnay/rust-toolchain@stable
32
+ - uses : actions/checkout@v3
33
+ - uses : dtolnay/rust-toolchain@stable
39
34
with :
40
35
target : i586-unknown-linux-gnu
41
- - name : Checkout
42
- uses : actions/checkout@v3
43
- - name : Test
44
- run : cargo test --target i586-unknown-linux-gnu --all-features
36
+ - run : cargo test --target i586-unknown-linux-gnu --all-features
45
37
46
38
# try a target that doesn't have std at all
47
39
no_std :
48
40
name : No Std
49
41
runs-on : ubuntu-latest
50
42
steps :
51
- - name : Rust install
52
- uses : dtolnay/rust-toolchain@stable
43
+ - uses : actions/checkout@v3
44
+ - uses : dtolnay/rust-toolchain@stable
53
45
with :
54
46
target : thumbv6m-none-eabi
55
- - name : Checkout
56
- uses : actions/checkout@v3
57
- - name : Build
58
- run : cargo build --target thumbv6m-none-eabi --no-default-features --features i128
59
- - name : Build (libm)
60
- run : cargo build --target thumbv6m-none-eabi --no-default-features --features libm
47
+ - run : cargo build --target thumbv6m-none-eabi --no-default-features --features i128
48
+ - run : cargo build --target thumbv6m-none-eabi --no-default-features --features libm
61
49
62
50
fmt :
63
51
name : Format
64
52
runs-on : ubuntu-latest
65
53
steps :
66
- - name : Rust install
67
- uses : dtolnay/rust-toolchain@1.62.0
54
+ - uses : actions/checkout@v3
55
+ - uses : dtolnay/rust-toolchain@1.62.0
68
56
with :
69
57
components : rustfmt
70
- - name : Checkout
71
- uses : actions/checkout@v3
72
- - name : Check formatting
73
- run : cargo fmt --all --check
58
+ - run : cargo fmt --all --check
0 commit comments