Check Deno build on CI

This commit is contained in:
Dzmitry Malyshau 2021-09-28 11:25:33 -04:00 committed by Dzmitry Malyshau
parent acd983ed5e
commit 96ed52f4a7
2 changed files with 18 additions and 0 deletions

View File

@ -179,3 +179,20 @@ jobs:
- name: run rustfmt
run: |
cargo fmt -- --check
deno:
name: Deno
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: install rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: build Deno
run: |
cargo check --manifest-path cts_runner/Cargo.toml

View File

@ -39,6 +39,7 @@ pub fn op_webgpu_create_shader_module(
let descriptor = wgpu_core::pipeline::ShaderModuleDescriptor {
label: args.label.map(Cow::from),
shader_bound_checks: wgpu_types::ShaderBoundChecks::default(),
};
gfx_put!(device => instance.device_create_shader_module(