-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03125ab
commit 943bde4
Showing
1 changed file
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|