Skip to content

Commit

Permalink
Merge pull request #150 from waywardmonkeys/update-ci
Browse files Browse the repository at this point in the history
ci: Update actions.
  • Loading branch information
sebcrozet authored Aug 27, 2023
2 parents 1e6f80a + b245641 commit 97fd1b2
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/parry-ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
check-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Check formatting
run: cargo fmt -- --check
build-native:
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: sudo apt-get install -y cmake libxcb-composite0-dev
- name: Build parry2d
run: cargo build --verbose -p parry2d;
Expand All @@ -40,7 +40,7 @@ jobs:
env:
RUSTFLAGS: -D warnings
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: rustup target add wasm32-unknown-unknown
- name: build parry2d
run: cd crates/parry2d && cargo build --verbose --target wasm32-unknown-unknown;
Expand All @@ -49,12 +49,11 @@ jobs:
build-no-std:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install latest nightly
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
override: true
components: rustfmt
- name: install xargo
run: cp .github/Xargo.toml .; rustup component add rust-src; cargo install -f xargo;
Expand All @@ -69,11 +68,10 @@ jobs:
with:
cuda: '11.5.0'
- name: Install nightly-2021-12-04
uses: actions-rs/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2021-12-04
override: true
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: rustup target add nvptx64-nvidia-cuda
- run: cargo build --no-default-features --features required-features,cuda
- run: cargo build --no-default-features --features required-features,cuda --target=nvptx64-nvidia-cuda
Expand Down

0 comments on commit 97fd1b2

Please sign in to comment.