diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6674c4bacfd..e12215d6a57 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -237,8 +237,12 @@ jobs: tests: name: Run tests - # We run the tests on macOS because it will run with a actual GPU - runs-on: macos-latest + strategy: + matrix: + # On macos the tests will run on an actual gpu and on ubuntu using llvmpipe. + os: [macos-latest, ubuntu-latest] + fail-fast: false + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/crates/egui_kittest/src/wgpu.rs b/crates/egui_kittest/src/wgpu.rs index 91d61d113f3..b40f8f0ed76 100644 --- a/crates/egui_kittest/src/wgpu.rs +++ b/crates/egui_kittest/src/wgpu.rs @@ -22,7 +22,7 @@ impl TestRenderer { pub fn new() -> Self { let instance = wgpu::Instance::new(InstanceDescriptor::default()); - let adapters = instance.enumerate_adapters(Backends::all()); + let adapters = instance.enumerate_adapters(Backends::GL); for x in &adapters { dbg!(x.get_info());