GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,d3d12,asahi,crocus"
VULKAN_DRIVERS: swrast
EXTRA_OPTION: >
- --native-file .gitlab-ci/build/meson-native-lto-wrappers.txt
-D spirv-to-dxil=true
-D osmesa=true
-D tools=drm-shim,etnaviv,freedreno,glsl,intel,intel-ui,nir,nouveau,lima,panfrost,asahi
section_switch yamllint "yamllint"
.gitlab-ci/run-yamllint.sh
section_switch meson "meson"
- PATH=$PATH:$PWD/.gitlab-ci/build .gitlab-ci/meson/build.sh
+ .gitlab-ci/meson/build.sh
section_switch shader-db "shader-db"
.gitlab-ci/run-shader-db.sh
-D glvnd=true
-D platforms=x11,wayland
EXTRA_OPTION: >
- --native-file .gitlab-ci/build/meson-native-lto-wrappers.txt
-D b_lto=true
-D osmesa=true
-D selinux=true
UNWIND: "disabled"
VULKAN_DRIVERS: "amd,broadcom,freedreno,imagination-experimental,intel,intel_hasvk"
script:
- - PATH=$PATH:$PWD/.gitlab-ci/build .gitlab-ci/meson/build.sh
+ - .gitlab-ci/meson/build.sh
debian-android:
extends:
CROSS_FILE=/cross_file-"$CROSS".txt
+export PATH=$PATH:$PWD/.gitlab-ci/build
+
+touch native.file
+printf > native.file "%s\n" \
+ "[binaries]" \
+ "c = '${CC:-gcc}-link-werror.sh'" \
+ "cpp = '${CXX:-g++}-link-werror.sh'"
+
# We need to control the version of llvm-config we're using, so we'll
# tweak the cross file or generate a native file to do so.
if test -n "$LLVM_VERSION"; then
LLVM_CONFIG="llvm-config-${LLVM_VERSION}"
- echo -e "[binaries]\nllvm-config = '`which $LLVM_CONFIG`'" > native.file
+ echo "llvm-config = '`which $LLVM_CONFIG`'" >> native.file
if [ -n "$CROSS" ]; then
sed -i -e '/\[binaries\]/a\' -e "llvm-config = '`which $LLVM_CONFIG`'" $CROSS_FILE
fi
$LLVM_CONFIG --version
-else
- rm -f native.file
- touch native.file
fi
# cross-xfail-$CROSS, if it exists, contains a list of tests that are expected