Skip to content

Commit 96fcc9d

Browse files
committed
ci: don't install swiftshader where not necessary
also allow `workflow_dispatch` so we can launch CI pipelines manually on random branches without opening a PR
1 parent 5719b27 commit 96fcc9d

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
- main
55
pull_request:
66
merge_group:
7+
workflow_dispatch:
78

89
name: CI
910

@@ -32,10 +33,6 @@ jobs:
3233
install_runtime: true
3334
cache: true
3435
stripdown: true
35-
36-
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
37-
install_swiftshader: true
38-
# install_lavapipe: true
3936
- if: ${{ runner.os == 'Linux' }}
4037
name: Linux - Install native dependencies
4138
run: sudo apt install libwayland-cursor0 libxkbcommon-dev libwayland-dev
@@ -97,10 +94,6 @@ jobs:
9794
install_runtime: true
9895
cache: true
9996
stripdown: true
100-
101-
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
102-
install_swiftshader: true
103-
# install_lavapipe: true
10497
- name: install rust-toolchain
10598
run: cargo version
10699
- name: cargo fetch --locked
@@ -145,10 +138,6 @@ jobs:
145138
install_runtime: true
146139
cache: true
147140
stripdown: true
148-
149-
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
150-
install_swiftshader: true
151-
# install_lavapipe: true
152141
- name: install rust-toolchain
153142
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
154143
- name: cargo fetch --locked
@@ -240,10 +229,6 @@ jobs:
240229
install_runtime: true
241230
cache: true
242231
stripdown: true
243-
244-
# FIXME(eddyb) consider using lavapipe instead, or even trying both.
245-
install_swiftshader: true
246-
# install_lavapipe: true
247232
# cargo version is a random command that forces the installation of rust-toolchain
248233
- name: install rust-toolchain
249234
run: cargo version

0 commit comments

Comments
 (0)