Skip to content

Commit 3defc85

Browse files
committed
Merge pull request #109573 from Repiteo/ci/linux-dependency-tweak
CI: Update dependency setup on Linux actions
2 parents c227126 + d8d3912 commit 3defc85

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/linux_builds.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,13 @@ jobs:
111111
with:
112112
submodules: recursive
113113

114-
- name: Linux dependencies for tests
115-
if: matrix.proj-test
116-
run: |
117-
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
118-
sudo apt-get install mesa-vulkan-drivers
119-
120-
# TODO: Figure out somehow how to embed this one.
121-
- name: wayland-scanner dependency
114+
- name: Setup dependencies
122115
run: |
123-
sudo apt-get install libwayland-bin
116+
sudo apt-get update
117+
sudo apt-get install libwayland-bin # TODO: Figure out somehow how to embed this one.
118+
if [ "${{ matrix.proj-test }}" == "true" ]; then
119+
sudo apt-get install mesa-vulkan-drivers
120+
fi
124121
125122
- name: Free disk space on runner
126123
run: |

.github/workflows/static_checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737

3838
- name: Class reference schema checks
3939
run: |
40-
sudo apt update
41-
sudo apt install -y libxml2-utils
40+
sudo apt-get update
41+
sudo apt-get install libxml2-utils
4242
xmllint --quiet --noout --schema doc/class.xsd doc/classes/*.xml modules/*/doc_classes/*.xml platform/*/doc_classes/*.xml
4343
4444
- name: Run C compiler on `gdextension_interface.h`

0 commit comments

Comments
 (0)