diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index 3c7743790db..a901a9afd41 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -111,16 +111,13 @@ jobs: with: submodules: recursive - - name: Linux dependencies for tests - if: matrix.proj-test + - name: Setup dependencies run: | - sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list - sudo apt-get install mesa-vulkan-drivers - - # TODO: Figure out somehow how to embed this one. - - name: wayland-scanner dependency - run: | - sudo apt-get install libwayland-bin + 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 + fi - name: Free disk space on runner run: | diff --git a/.github/workflows/static_checks.yml b/.github/workflows/static_checks.yml index ef228e987a1..32ea0be3849 100644 --- a/.github/workflows/static_checks.yml +++ b/.github/workflows/static_checks.yml @@ -37,8 +37,8 @@ jobs: - name: Class reference schema checks run: | - sudo apt update - sudo apt install -y libxml2-utils + sudo apt-get update + sudo apt-get install libxml2-utils 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`