Skip to content

Commit

Permalink
ci: Use a regular cargo to build no-std targets. (#231)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
waywardmonkeys authored Aug 9, 2024
1 parent a9e755c commit 381c577
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .github/Xargo.toml

This file was deleted.

12 changes: 5 additions & 7 deletions .github/workflows/parry-ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install latest nightly
- name: Install stable Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt
- name: install xargo
run: cp .github/Xargo.toml .; rustup component add rust-src; cargo install -f xargo;
toolchain: stable
targets: "x86_64-unknown-linux-gnu,thumbv7em-none-eabihf"
- name: build x86_64-unknown-linux-gnu
run: xargo build --verbose --no-default-features --features required-features --target=x86_64-unknown-linux-gnu;
run: cargo build --verbose --no-default-features --features required-features --target=x86_64-unknown-linux-gnu
- name: build thumbv7em-none-eabihf
run: xargo build --verbose --no-default-features --features required-features --target=thumbv7em-none-eabihf;
run: cargo build --verbose --no-default-features --features required-features --target=thumbv7em-none-eabihf
build-doc:
runs-on: ubuntu-latest
env:
Expand Down

0 comments on commit 381c577

Please sign in to comment.