Run reftests on WARP

This commit is contained in:
Connor Fitzgerald 2021-07-28 00:19:59 -04:00
parent c1a305c006
commit 3c8de92ba0
No known key found for this signature in database
GPG Key ID: 7D3FA445BAD3008D

View File

@ -18,7 +18,7 @@ jobs:
os: windows-2019
channel: stable
target: x86_64-pc-windows-msvc
kind: compile
kind: test
# MacOS
@ -153,17 +153,17 @@ jobs:
cargo build --target ${{ matrix.target }} --tests -p player
cargo build --target ${{ matrix.target }} --examples --tests -p wgpu
# - name: tests
# if: matrix.kind == 'test'
# run: |
# # run wgpu-info
# cargo run --target ${{ matrix.target }} --bin wgpu-info
- name: tests
if: matrix.kind == 'test' && matrix.os == 'windows-2019'
run: |
# run wgpu-info
cargo run --target ${{ matrix.target }} --bin wgpu-info
# # run player tests
# cargo test --target ${{ matrix.target }} -p player -- --nocapture
# run player tests
cargo test --target ${{ matrix.target }} -p player -- --nocapture
# # run coretests
# cargo run --target ${{ matrix.target }} --bin wgpu-info -- cargo test --target ${{ matrix.target }} -p wgpu -- --nocapture --test-threads=1 # GLES is currently non-multithreadable
# run coretests
cargo run --target ${{ matrix.target }} --bin wgpu-info -- cargo test --target ${{ matrix.target }} -p wgpu -- --nocapture --test-threads=1 # GLES is currently non-multithreadable
fmt:
name: Format