File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -42,11 +42,24 @@ jobs:
42
42
- uses : dtolnay/rust-toolchain@stable
43
43
- name : Install Linux dependencies
44
44
uses : ./.github/actions/install-linux-deps
45
+ # At some point this may be merged into `install-linux-deps`, but for now it is its own step.
46
+ - name : Install additional Linux dependencies for Vulkan
47
+ if : ${{ runner.os == 'linux' }}
48
+ run : |
49
+ sudo add-apt-repository ppa:kisak/turtle -y
50
+ sudo apt-get install --no-install-recommends libxkbcommon-x11-0 xvfb libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
45
51
- name : Build & run tests
52
+ if : ${{ runner.os != 'linux' }}
46
53
# See tools/ci/src/main.rs for the commands this runs
47
54
run : cargo run -p ci -- test
48
55
env :
49
56
RUSTFLAGS : " -C debuginfo=0 -D warnings"
57
+ - name : Build & run tests through xvfb
58
+ if : ${{ runner.os == 'linux' }}
59
+ # See tools/ci/src/main.rs for the commands this runs
60
+ run : xvfb-run cargo run -p ci -- test
61
+ env :
62
+ RUSTFLAGS : " -C debuginfo=0 -D warnings"
50
63
51
64
ci :
52
65
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -43,11 +43,24 @@ jobs:
43
43
- uses : dtolnay/rust-toolchain@beta
44
44
- name : Install Linux dependencies
45
45
uses : ./.github/actions/install-linux-deps
46
+ # At some point this may be merged into `install-linux-deps`, but for now it is its own step.
47
+ - name : Install additional Linux dependencies for Vulkan
48
+ if : ${{ runner.os == 'linux' }}
49
+ run : |
50
+ sudo add-apt-repository ppa:kisak/turtle -y
51
+ sudo apt-get install --no-install-recommends libxkbcommon-x11-0 xvfb libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
46
52
- name : Build & run tests
53
+ if : ${{ runner.os != 'linux' }}
47
54
# See tools/ci/src/main.rs for the commands this runs
48
55
run : cargo run -p ci -- test
49
56
env :
50
57
RUSTFLAGS : " -C debuginfo=0 -D warnings"
58
+ - name : Build & run tests through xvfb
59
+ if : ${{ runner.os == 'linux' }}
60
+ # See tools/ci/src/main.rs for the commands this runs
61
+ run : xvfb-run cargo run -p ci -- test
62
+ env :
63
+ RUSTFLAGS : " -C debuginfo=0 -D warnings"
51
64
52
65
lint :
53
66
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments