Skip to content

Commit ed41a38

Browse files
committed
ci: install rustup targets with toolchain action
Signed-off-by: Martin Kröning <martin.kroening@eonerc.rwth-aachen.de>
1 parent ab4357c commit ed41a38

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- uses: actions/checkout@v4
5353
- uses: dtolnay/rust-toolchain@nightly
5454
with:
55-
targets: x86_64-unknown-linux-musl
55+
targets: x86_64-unknown-linux-musl, i686-unknown-linux-gnu, thumbv7em-none-eabihf
5656

5757
- run: cargo build
5858

@@ -66,10 +66,6 @@ jobs:
6666
- run: cargo test --target x86_64-unknown-linux-musl
6767
if: runner.os == 'Linux'
6868

69-
- name: "Install Rustup Targets"
70-
run: |
71-
rustup target add i686-unknown-linux-gnu
72-
rustup target add thumbv7em-none-eabihf
7369
- name: "Build on non x86_64 platforms"
7470
run: |
7571
cargo build --target i686-unknown-linux-gnu --no-default-features --features nightly

0 commit comments

Comments
 (0)