Skip to content

Commit 0e1064c

Browse files
committed
fix no-std ci
1 parent f73f3b2 commit 0e1064c

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

.github/workflows/simba-ci-build.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ 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
2626
uses: actions-rs/toolchain@v1
2727
with:
@@ -33,7 +33,7 @@ jobs:
3333
build-native:
3434
runs-on: ubuntu-latest
3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v4
3737
- name: Install latest nightly
3838
uses: actions-rs/toolchain@v1
3939
with:
@@ -52,22 +52,24 @@ jobs:
5252
build-wasm:
5353
runs-on: ubuntu-latest
5454
steps:
55-
- uses: actions/checkout@v2
55+
- uses: actions/checkout@v4
5656
- run: rustup target add wasm32-unknown-unknown
5757
- name: build
5858
run: cargo build --verbose --target wasm32-unknown-unknown;
5959
build-no-std:
6060
runs-on: ubuntu-latest
6161
steps:
62-
- uses: actions/checkout@v2
63-
- name: Install latest nightly
64-
uses: actions-rs/toolchain@v1
62+
- uses: actions/checkout@v4
63+
- name: Install latest stable
64+
uses: dtolnay/rust-toolchain@master
6565
with:
66-
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;
66+
toolchain: stable
67+
targets: "x86_64-unknown-none,thumbv7em-none-eabihf"
68+
- name: build x86_64-unknown-none
69+
run: cargo build --verbose --no-default-features --target=x86_64-unknown-none
70+
- name: build x86_64-unknown-none --features libm
71+
run: cargo build --verbose --no-default-features --features libm --target=x86_64-unknown-none
72+
- name: build thumbv7em-none-eabihf
73+
run: cargo build --verbose --no-default-features --target=thumbv7em-none-eabihf
74+
- name: build thumbv7em-none-eabihf --features libm
75+
run: cargo build --verbose --no-default-features --features libm --target=thumbv7em-none-eabihf

0 commit comments

Comments
 (0)