Skip to content

Commit 691fff8

Browse files
committed
Add difftests to CI.
1 parent 9018b39 commit 691fff8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ jobs:
4242
- if: ${{ runner.os == 'Linux' }}
4343
name: Linux - Install native dependencies
4444
run: sudo apt install libwayland-cursor0 libxkbcommon-dev libwayland-dev
45+
- if: ${{ runner.os == 'Linux' }}
46+
name: Install xvfb, llvmpipe and lavapipe
47+
run: |
48+
sudo apt-get update -y -qq
49+
sudo add-apt-repository ppa:kisak/turtle -y
50+
sudo apt-get update
51+
sudo apt install -y xvfb libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
4552
# cargo version is a random command that forces the installation of rust-toolchain
4653
- name: install rust-toolchain
4754
run: cargo version
@@ -64,6 +71,10 @@ jobs:
6471
if: ${{ matrix.target != 'aarch64-linux-android' }}
6572
run: cargo run -p compiletests --release --no-default-features --features "use-installed-tools" -- --target-env vulkan1.1,vulkan1.2,spv1.3
6673

74+
- name: difftest
75+
if: ${{ matrix.target != 'aarch64-linux-android' }}
76+
run: cargo run -p difftests --release --no-default-features --features "use-installed-tools"
77+
6778
- name: workspace test
6879
if: ${{ matrix.target != 'aarch64-linux-android' }}
6980
run: cargo test --release

0 commit comments

Comments
 (0)