-
-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
525 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[target.x86_64-unknown-linux-gnu.dependencies] | ||
alloc = {} | ||
|
||
[target.thumbv7em-none-eabihf.dependencies] | ||
alloc = {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,3 +44,32 @@ jobs: | |
run: cd build/parry2d && cargo build --verbose --target wasm32-unknown-unknown; | ||
- name: build parry3d | ||
run: cd build/parry3d && cargo build --verbose --target wasm32-unknown-unknown; | ||
build-no-std: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install latest nightly | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly | ||
override: true | ||
components: rustfmt | ||
- name: install xargo | ||
run: cp .github/Xargo.toml .; rustup component add rust-src; cargo install -f xargo; | ||
- name: build x86_64-unknown-linux-gnu | ||
run: xargo 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; | ||
build-cuda: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: Jimver/[email protected] | ||
- name: Install nightly-2021-10-17 | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: nightly-2021-10-17 | ||
override: true | ||
- uses: actions/checkout@v2 | ||
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
[workspace] | ||
members = ["build/parry2d", "build/parry3d", "build/parry2d-f64", "build/parry3d-f64"] | ||
resolver = "2" | ||
|
||
[patch.crates-io] | ||
parry2d = { path = "build/parry2d" } | ||
parry3d = { path = "build/parry3d" } | ||
parry2d-f64 = { path = "build/parry2d-f64" } | ||
parry3d-f64 = { path = "build/parry3d-f64" } | ||
simba = { git = "https://github.com/dimforge/simba" } | ||
nalgebra = { git = "https://github.com/dimforge/nalgebra", branch = "rust-cuda" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.