mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2025-02-16 17:04:16 +00:00
Include examples in test (#166)
I thought examples couldn't be included in test due to weird windows reasons, but wgpu-example-runner is already included, and it works
This commit is contained in:
parent
de4436d2e0
commit
ddd2526f6d
1
.github/workflows/ci.yaml
vendored
1
.github/workflows/ci.yaml
vendored
@ -40,7 +40,6 @@ jobs:
|
||||
# Runs separately to add spir-v tools to Powershell's Path.
|
||||
run: echo "$HOME/spirv-tools/install/bin" >> $env:GITHUB_PATH
|
||||
- run: rustup component add rust-src rustc-dev llvm-tools-preview
|
||||
- run: cargo build -p example-runner
|
||||
# See: https://github.com/EmbarkStudios/rust-gpu/issues/84
|
||||
- if: ${{ runner.os == 'macOS' }}
|
||||
run: cargo test --workspace --exclude example-runner
|
||||
|
@ -5,12 +5,6 @@ authors = ["Embark <opensource@embark-studios.com>"]
|
||||
edition = "2018"
|
||||
license = "MIT OR Apache-2.0"
|
||||
|
||||
# Note: Don't include this section in your own crates, these are just included here because our repo setup is weird.
|
||||
[[bin]]
|
||||
name = "example-runner"
|
||||
doctest = false
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
ash = "0.31"
|
||||
ash-window = "0.5"
|
||||
|
@ -7,9 +7,6 @@ license = "MIT OR Apache-2.0"
|
||||
|
||||
[lib]
|
||||
crate-type = ["dylib"]
|
||||
# Note: Don't include these two lines in your own crates, these are just included here because our repo setup is weird.
|
||||
doctest = false
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
spirv-std = { path = "../../spirv-std" }
|
||||
|
@ -7,9 +7,6 @@ license = "MIT OR Apache-2.0"
|
||||
|
||||
[lib]
|
||||
crate-type = ["dylib"]
|
||||
# Note: Don't include these two lines in your own crates, these are just included here because our repo setup is weird.
|
||||
doctest = false
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
spirv-std = { path = "../../spirv-std" }
|
||||
|
@ -6,8 +6,4 @@ edition = "2018"
|
||||
license = "MIT OR Apache-2.0"
|
||||
repository = "https://github.com/EmbarkStudios/rust-gpu"
|
||||
|
||||
[lib]
|
||||
doctest = false
|
||||
test = false
|
||||
|
||||
[dependencies]
|
||||
|
Loading…
Reference in New Issue
Block a user