@@ -14,60 +14,45 @@ jobs:
1414 matrix :
1515 rust : [1.8.0, 1.15.0, 1.20.0, 1.26.0, 1.31.0, stable, beta, nightly]
1616 steps :
17- - name : Rust install
18- uses : dtolnay/rust-toolchain@master
17+ - uses : actions/checkout@v3
18+ - uses : dtolnay/rust-toolchain@master
1919 with :
2020 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
2723
2824 # i586 presents floating point challenges for lack of SSE/SSE2
2925 i586 :
3026 name : Test (i586)
3127 runs-on : ubuntu-latest
3228 steps :
33- - name : System install
34- run : |
29+ - run : |
3530 sudo apt-get update
3631 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
3934 with :
4035 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
4537
4638 # try a target that doesn't have std at all
4739 no_std :
4840 name : No Std
4941 runs-on : ubuntu-latest
5042 steps :
51- - name : Rust install
52- uses : dtolnay/rust-toolchain@stable
43+ - uses : actions/checkout@v3
44+ - uses : dtolnay/rust-toolchain@stable
5345 with :
5446 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
6149
6250 fmt :
6351 name : Format
6452 runs-on : ubuntu-latest
6553 steps :
66- - name : Rust install
67- 54+ - uses : actions/checkout@v3
55+ 6856 with :
6957 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