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:
Ashley Hauck 2020-10-28 11:34:46 +01:00 committed by GitHub
parent de4436d2e0
commit ddd2526f6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 17 deletions

View File

@ -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

View File

@ -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"

View File

@ -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" }

View File

@ -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" }

View File

@ -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]