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 943bde4
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,26 @@ 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
with:
lfs: true

- name: Install packages (Linux)
if: runner.os == 'Linux'
uses: awalsh128/[email protected]
with:
packages: libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev libgtk-3-dev # libgtk-3-dev is used by rfd
version: 1.0
execute_install_scripts: true

- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.76.0
Expand Down

0 comments on commit 943bde4

Please sign in to comment.