Skip to content

Commit 3682e18

Browse files
committed
[WIP] ci: switch to jakoch/install-vulkan-sdk-action@v1 for Vulkan SDK + SwiftShader.
1 parent 6e00115 commit 3682e18

File tree

1 file changed

+43
-8
lines changed

1 file changed

+43
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 43 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,16 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v4
2727
- name: Install Vulkan SDK
28-
uses: humbletim/install-vulkan-sdk@v1.2
28+
uses: jakoch/install-vulkan-sdk-action@v1
2929
with:
30-
version: 1.4.309.0
30+
vulkan_version: 1.4.309.0
31+
install_runtime: true
3132
cache: true
33+
stripdown: true
34+
35+
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
36+
install_swiftshader: true
37+
# install_lavapipe: true
3238
- if: ${{ runner.os == 'Linux' }}
3339
name: Linux - Install native dependencies
3440
run: sudo apt install libwayland-cursor0 libxkbcommon-dev libwayland-dev
@@ -84,10 +90,16 @@ jobs:
8490
steps:
8591
- uses: actions/checkout@v4
8692
- name: Install Vulkan SDK
87-
uses: humbletim/install-vulkan-sdk@v1.2
93+
uses: jakoch/install-vulkan-sdk-action@v1
8894
with:
89-
version: 1.4.309.0
95+
vulkan_version: 1.4.309.0
96+
install_runtime: true
9097
cache: true
98+
stripdown: true
99+
100+
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
101+
install_swiftshader: true
102+
# install_lavapipe: true
91103
- name: install rust-toolchain
92104
run: cargo version
93105
- name: cargo fetch --locked
@@ -125,10 +137,16 @@ jobs:
125137
steps:
126138
- uses: actions/checkout@v4
127139
- name: Install Vulkan SDK
128-
uses: humbletim/install-vulkan-sdk@v1.2
140+
uses: jakoch/install-vulkan-sdk-action@v1
129141
with:
130-
version: 1.4.309.0
142+
vulkan_version: 1.4.309.0
143+
install_runtime: true
131144
cache: true
145+
stripdown: true
146+
147+
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
148+
install_swiftshader: true
149+
# install_lavapipe: true
132150
- name: install rust-toolchain
133151
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
134152
- name: cargo fetch --locked
@@ -145,10 +163,16 @@ jobs:
145163
steps:
146164
- uses: actions/checkout@v4
147165
- name: Install Vulkan SDK
148-
uses: humbletim/install-vulkan-sdk@v1.2
166+
uses: jakoch/install-vulkan-sdk-action@v1
149167
with:
150-
version: 1.4.309.0
168+
vulkan_version: 1.4.309.0
169+
install_runtime: true
151170
cache: true
171+
stripdown: true
172+
173+
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
174+
install_swiftshader: true
175+
# install_lavapipe: true
152176
- if: ${{ runner.os == 'Linux' }}
153177
name: Linux - Install native dependencies
154178
run: sudo apt install libwayland-cursor0 libxkbcommon-dev libwayland-dev
@@ -203,6 +227,17 @@ jobs:
203227
with:
204228
version: 1.4.309.0
205229
cache: true
230+
- name: Install Vulkan SDK
231+
uses: jakoch/install-vulkan-sdk-action@v1
232+
with:
233+
vulkan_version: 1.4.309.0
234+
install_runtime: true
235+
cache: true
236+
stripdown: true
237+
238+
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
239+
install_swiftshader: true
240+
# install_lavapipe: true
206241
- name: Install rustup components
207242
run: rustup component add rustfmt clippy
208243
# cargo version is a random command that forces the installation of rust-toolchain

0 commit comments

Comments
 (0)