CI: Update dependency setup on Linux actions

This commit is contained in:
Thaddeus Crews 2025-08-13 08:42:37 -05:00
parent 8aa37cab89
commit d8d39120dd
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
2 changed files with 8 additions and 11 deletions

View file

@ -111,16 +111,13 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Linux dependencies for tests - name: Setup dependencies
if: matrix.proj-test
run: | run: |
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list sudo apt-get update
sudo apt-get install libwayland-bin # TODO: Figure out somehow how to embed this one.
if [ "${{ matrix.proj-test }}" == "true" ]; then
sudo apt-get install mesa-vulkan-drivers sudo apt-get install mesa-vulkan-drivers
fi
# TODO: Figure out somehow how to embed this one.
- name: wayland-scanner dependency
run: |
sudo apt-get install libwayland-bin
- name: Free disk space on runner - name: Free disk space on runner
run: | run: |

View file

@ -37,8 +37,8 @@ jobs:
- name: Class reference schema checks - name: Class reference schema checks
run: | run: |
sudo apt update sudo apt-get update
sudo apt install -y libxml2-utils sudo apt-get install libxml2-utils
xmllint --quiet --noout --schema doc/class.xsd doc/classes/*.xml modules/*/doc_classes/*.xml platform/*/doc_classes/*.xml xmllint --quiet --noout --schema doc/class.xsd doc/classes/*.xml modules/*/doc_classes/*.xml platform/*/doc_classes/*.xml
- name: Run C compiler on `gdextension_interface.h` - name: Run C compiler on `gdextension_interface.h`