@@ -33,19 +33,37 @@ jobs:
33
33
test :
34
34
strategy :
35
35
matrix :
36
- os : [windows-latest, ubuntu-latest, macos-latest]
36
+ os : [windows-latest, macos-latest]
37
37
runs-on : ${{ matrix.os }}
38
38
# Disable this job when running on a fork.
39
39
if : github.repository == 'bevyengine/bevy'
40
40
timeout-minutes : 30
41
+ steps :
42
+ - uses : actions/checkout@v4
43
+ - uses : dtolnay/rust-toolchain@beta
44
+ - name : Build & run tests
45
+ # See tools/ci/src/main.rs for the commands this runs
46
+ run : cargo run -p ci -- test
47
+ env :
48
+ RUSTFLAGS : " -C debuginfo=0 -D warnings"
49
+ test-linux :
50
+ runs-on : ubuntu-latest
51
+ # Disable this job when running on a fork.
52
+ if : github.repository == 'bevyengine/bevy'
53
+ timeout-minutes : 30
41
54
steps :
42
55
- uses : actions/checkout@v4
43
56
- uses : dtolnay/rust-toolchain@beta
44
57
- name : Install Linux dependencies
45
58
uses : ./.github/actions/install-linux-deps
59
+ # At some point this may be merged into `install-linux-deps`, but for now it is its own step.
60
+ - name : Install additional Linux dependencies for Vulkan
61
+ run : |
62
+ sudo add-apt-repository ppa:kisak/turtle -y
63
+ sudo apt-get install --no-install-recommends libxkbcommon-x11-0 xvfb libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
46
64
- name : Build & run tests
47
65
# See tools/ci/src/main.rs for the commands this runs
48
- run : cargo run -p ci -- test
66
+ run : xvfb-run cargo run -p ci -- test
49
67
env :
50
68
RUSTFLAGS : " -C debuginfo=0 -D warnings"
51
69
0 commit comments