@@ -13,32 +13,30 @@ jobs:
1313 fmt :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v4
1717 - name : Check formatting
1818 run : cargo fmt -- --check
1919 clippy :
2020 runs-on : ubuntu-latest
2121 env :
2222 RUSTFLAGS : -D warnings
2323 steps :
24- - uses : actions/checkout@v2
24+ - uses : actions/checkout@v4
2525 - name : Install latest nightly
26- uses : actions-rs/ toolchain@v1
26+ uses : dtolnay/rust- toolchain@master
2727 with :
2828 toolchain : nightly
29- override : true
3029 components : clippy
3130 - name : Check formatting
3231 run : cargo clippy --all-features
3332 build-native :
3433 runs-on : ubuntu-latest
3534 steps :
36- - uses : actions/checkout@v2
35+ - uses : actions/checkout@v4
3736 - name : Install latest nightly
38- uses : actions-rs/ toolchain@v1
37+ uses : dtolnay/rust- toolchain@master
3938 with :
4039 toolchain : nightly
41- override : false
4240 - name : Build --no-default-feature
4341 run : cargo build --no-default-features;
4442 - name : Build libm only
@@ -52,22 +50,24 @@ jobs:
5250 build-wasm :
5351 runs-on : ubuntu-latest
5452 steps :
55- - uses : actions/checkout@v2
53+ - uses : actions/checkout@v4
5654 - run : rustup target add wasm32-unknown-unknown
5755 - name : build
5856 run : cargo build --verbose --target wasm32-unknown-unknown;
5957 build-no-std :
6058 runs-on : ubuntu-latest
6159 steps :
62- - uses : actions/checkout@v2
60+ - uses : actions/checkout@v4
6361 - name : Install latest nightly
64- uses : actions-rs/ toolchain@v1
62+ uses : dtolnay/rust- toolchain@master
6563 with :
6664 toolchain : nightly
67- override : true
68- - name : install xargo
69- run : cp .github/Xargo.toml .; rustup component add rust-src; cargo install -f xargo;
70- - name : build x86_64-unknown-linux-gnu
71- run : xargo build --verbose --no-default-features --target=x86_64-unknown-linux-gnu;
72- - name : build x86_64-unknown-linux-gnu --features libm
73- run : xargo build --verbose --no-default-features --features libm --target=x86_64-unknown-linux-gnu;
65+ targets : " x86_64-unknown-none,thumbv7em-none-eabihf"
66+ - name : build x86_64-unknown-none
67+ run : cargo build --verbose --no-default-features --target=x86_64-unknown-none
68+ - name : build x86_64-unknown-none --features libm
69+ run : cargo build --verbose --no-default-features --features libm --target=x86_64-unknown-none
70+ - name : build thumbv7em-none-eabihf
71+ run : cargo build --verbose --no-default-features --target=thumbv7em-none-eabihf
72+ - name : build thumbv7em-none-eabihf --features libm
73+ run : cargo build --verbose --no-default-features --features libm --target=thumbv7em-none-eabihf
0 commit comments