Skip to content

Commit 381c577

Browse files
ci: Use a regular cargo to build no-std targets. (#231)
`xargo` is no longer needed and has been in maintenance mode for over 7 years. This can run on `stable` rather than requiring `nightly` The build doesn't need `rustfmt`, so don't require that it be installed.
1 parent a9e755c commit 381c577

2 files changed

Lines changed: 5 additions & 12 deletions

File tree

.github/Xargo.toml

Lines changed: 0 additions & 5 deletions
This file was deleted.

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,15 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v4
59-
- name: Install latest nightly
59+
- name: Install stable Rust
6060
uses: dtolnay/rust-toolchain@master
6161
with:
62-
toolchain: nightly
63-
components: rustfmt
64-
- name: install xargo
65-
run: cp .github/Xargo.toml .; rustup component add rust-src; cargo install -f xargo;
62+
toolchain: stable
63+
targets: "x86_64-unknown-linux-gnu,thumbv7em-none-eabihf"
6664
- name: build x86_64-unknown-linux-gnu
67-
run: xargo build --verbose --no-default-features --features required-features --target=x86_64-unknown-linux-gnu;
65+
run: cargo build --verbose --no-default-features --features required-features --target=x86_64-unknown-linux-gnu
6866
- name: build thumbv7em-none-eabihf
69-
run: xargo build --verbose --no-default-features --features required-features --target=thumbv7em-none-eabihf;
67+
run: cargo build --verbose --no-default-features --features required-features --target=thumbv7em-none-eabihf
7068
build-doc:
7169
runs-on: ubuntu-latest
7270
env:

0 commit comments

Comments
 (0)