ci: move shader-db clone/build into its own script
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24504>
This commit is contained in:

committed by
Marge Bot

parent
e7c0971b4f
commit
2e100bd69b
14
.gitlab-ci/container/build-shader-db.sh
Normal file
14
.gitlab-ci/container/build-shader-db.sh
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# When changing this file, you need to bump the following
|
||||||
|
# .gitlab-ci/image-tags.yml tags:
|
||||||
|
# DEBIAN_BUILD_TAG
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
pushd /usr/local
|
||||||
|
git clone https://gitlab.freedesktop.org/mesa/shader-db.git --depth 1
|
||||||
|
rm -rf shader-db/.git
|
||||||
|
cd shader-db
|
||||||
|
make
|
||||||
|
popd
|
@@ -78,12 +78,7 @@ rm -rf $XORGMACROS_VERSION
|
|||||||
|
|
||||||
. .gitlab-ci/container/build-wayland.sh
|
. .gitlab-ci/container/build-wayland.sh
|
||||||
|
|
||||||
pushd /usr/local
|
. .gitlab-ci/container/build-shader-db.sh
|
||||||
git clone https://gitlab.freedesktop.org/mesa/shader-db.git --depth 1
|
|
||||||
rm -rf shader-db/.git
|
|
||||||
cd shader-db
|
|
||||||
make
|
|
||||||
popd
|
|
||||||
|
|
||||||
git clone https://github.com/microsoft/DirectX-Headers -b v1.711.3-preview --depth 1
|
git clone https://github.com/microsoft/DirectX-Headers -b v1.711.3-preview --depth 1
|
||||||
pushd DirectX-Headers
|
pushd DirectX-Headers
|
||||||
|
@@ -10,7 +10,7 @@ variables:
|
|||||||
DEBIAN_BASE_TAG: "2023-09-25-virglrenderer"
|
DEBIAN_BASE_TAG: "2023-09-25-virglrenderer"
|
||||||
|
|
||||||
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
|
DEBIAN_X86_64_BUILD_IMAGE_PATH: "debian/x86_64_build"
|
||||||
DEBIAN_BUILD_TAG: "2023-09-14-bindgen-cli"
|
DEBIAN_BUILD_TAG: "2023-09-30-shader-db"
|
||||||
|
|
||||||
DEBIAN_X86_64_BUILD_MINGW_IMAGE_PATH: "debian/x86_64_build-mingw"
|
DEBIAN_X86_64_BUILD_MINGW_IMAGE_PATH: "debian/x86_64_build-mingw"
|
||||||
DEBIAN_BUILD_MINGW_TAG: "2023-05-25-bookworm"
|
DEBIAN_BUILD_MINGW_TAG: "2023-05-25-bookworm"
|
||||||
|
Reference in New Issue
Block a user