ci: enable Vulkan tests on Linux via Mesa lavapipe
Install libvulkan-dev + mesa-vulkan-drivers (lavapipe = software Vulkan, no GPU needed) and stop passing CMAKE_DISABLE_FIND_PACKAGE_Vulkan so the Vulkan backend and its tests are built and exercised.
This commit is contained in:
@@ -41,7 +41,7 @@ jobs:
|
|||||||
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev libavfilter-dev \
|
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev libavfilter-dev \
|
||||||
libopencolorio-dev libopenimageio-dev libopenexr-dev libexpat1-dev \
|
libopencolorio-dev libopenimageio-dev libopenexr-dev libexpat1-dev \
|
||||||
portaudio19-dev libgl1-mesa-dev libgl1-mesa-dri libxkbcommon-dev ccache \
|
portaudio19-dev libgl1-mesa-dev libgl1-mesa-dri libxkbcommon-dev ccache \
|
||||||
xvfb
|
xvfb libvulkan-dev mesa-vulkan-drivers vulkan-tools
|
||||||
|
|
||||||
# ------------------------------------------------------------------
|
# ------------------------------------------------------------------
|
||||||
# macOS dependencies
|
# macOS dependencies
|
||||||
@@ -173,7 +173,6 @@ jobs:
|
|||||||
cmake -S . -B build -G Ninja \
|
cmake -S . -B build -G Ninja \
|
||||||
-DBUILD_TESTS=ON \
|
-DBUILD_TESTS=ON \
|
||||||
-DBUILD_QT6=ON \
|
-DBUILD_QT6=ON \
|
||||||
-DCMAKE_DISABLE_FIND_PACKAGE_Vulkan=ON \
|
|
||||||
-DOCIO_LOCATION=/usr \
|
-DOCIO_LOCATION=/usr \
|
||||||
-DOTIO_LOCATION=${OTIO_LOCATION} \
|
-DOTIO_LOCATION=${OTIO_LOCATION} \
|
||||||
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
|
||||||
|
|||||||
Reference in New Issue
Block a user