mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 00:03:29 +00:00
Fix Issue with Caching on Windows CI (#4284)
This commit is contained in:
parent
3ed37c3365
commit
bb00d594f8
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@ -296,6 +296,17 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tool: cargo-nextest,cargo-llvm-cov
|
tool: cargo-nextest,cargo-llvm-cov
|
||||||
|
|
||||||
|
# Cache step must go before warp and mesa install on windows as they write into the
|
||||||
|
# target directory, and rust-cache will overwrite the entirety of the target directory.
|
||||||
|
- name: caching
|
||||||
|
uses: Swatinem/rust-cache@v2
|
||||||
|
if: matrix.os[0] != 'self-hosted'
|
||||||
|
with:
|
||||||
|
key: test-${{ matrix.os }}-${{ env.CACHE_SUFFIX }}
|
||||||
|
workspaces: |
|
||||||
|
. -> target
|
||||||
|
xtask -> xtask/target
|
||||||
|
|
||||||
- name: (windows) install warp
|
- name: (windows) install warp
|
||||||
if: matrix.os == 'windows-2022'
|
if: matrix.os == 'windows-2022'
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -350,15 +361,6 @@ jobs:
|
|||||||
[profile.dev]
|
[profile.dev]
|
||||||
debug = 1" >> .cargo/config.toml
|
debug = 1" >> .cargo/config.toml
|
||||||
|
|
||||||
- name: caching
|
|
||||||
uses: Swatinem/rust-cache@v2
|
|
||||||
if: matrix.os[0] != 'self-hosted'
|
|
||||||
with:
|
|
||||||
key: test-${{ matrix.os }}-${{ env.CACHE_SUFFIX }}
|
|
||||||
workspaces: |
|
|
||||||
. -> target
|
|
||||||
xtask -> xtask/target
|
|
||||||
|
|
||||||
- name: run wgpu-info
|
- name: run wgpu-info
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
@ -57,7 +57,9 @@ static MULTITHREADED_COMPUTE: GpuTestConfiguration = GpuTestConfiguration::new()
|
|||||||
TestParameters::default()
|
TestParameters::default()
|
||||||
.downlevel_flags(wgpu::DownlevelFlags::COMPUTE_SHADERS)
|
.downlevel_flags(wgpu::DownlevelFlags::COMPUTE_SHADERS)
|
||||||
.limits(wgpu::Limits::downlevel_defaults())
|
.limits(wgpu::Limits::downlevel_defaults())
|
||||||
.skip(FailureCase::adapter("V3D")),
|
.skip(FailureCase::adapter("V3D"))
|
||||||
|
// Segfaults on linux CI only https://github.com/gfx-rs/wgpu/issues/4285
|
||||||
|
.skip(FailureCase::backend_adapter(wgpu::Backends::GL, "llvmpipe")),
|
||||||
)
|
)
|
||||||
.run_sync(|ctx| {
|
.run_sync(|ctx| {
|
||||||
use std::{sync::mpsc, sync::Arc, thread, time::Duration};
|
use std::{sync::mpsc, sync::Arc, thread, time::Duration};
|
||||||
|
Loading…
Reference in New Issue
Block a user