Skip to content

Commit

Permalink
Try ubuntu latest
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmerlin committed Oct 9, 2024
1 parent 03125ab commit 809e03b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion crates/egui_kittest/src/wgpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 809e03b

Please sign in to comment.