mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
Add dependency on serialize for Rosetta tests (#150)
* Add dependency on serialize for Rosetta tests Fixes #149 * Also run default cargo test on CI
This commit is contained in:
1 parent
92c1ffb588
commit
6a3af2fe87
3 files changed
+7
-2
No files matched your search
@@ -13,6 +13,11 @@ jobs:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: Default test
|
||||
with:
|
||||
command: test
|
||||
- uses: actions-rs/cargo@v1
|
||||
name: Test all features
|
||||
with:
|
||||
command: test
|
||||
args: --all-features
|
||||
|
||||
@@ -15,7 +15,7 @@ mod parser;
|
||||
mod parser_tests;
|
||||
mod token;
|
||||
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, feature = "serialize"))]
|
||||
mod rosetta_tests;
|
||||
|
||||
pub fn parse_str(source: &str, entry: String, stage: ShaderStage) -> Result<Module, ParseError> {
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ pub mod glsl_new;
|
||||
#[cfg(feature = "spirv-in")]
|
||||
pub mod spv;
|
||||
pub mod wgsl;
|
||||
#[cfg(test)]
|
||||
#[cfg(all(test, feature = "serialize"))]
|
||||
mod wgsl_rosetta_tests;
|
||||
|
||||
use crate::arena::Arena;
|
||||
|
||||
Reference in new issue
Block a user