CI: Install DirectX-Headers package for x86 container

Acked-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8251>
This commit is contained in:
Jesse Natalie 2020-12-28 11:21:06 -08:00 committed by Marge Bot
parent 90de4ec129
commit 7452a96e91
2 changed files with 10 additions and 1 deletions

View File

@ -277,7 +277,7 @@ x86_build:
extends:
- .use-x86_build-base
variables:
MESA_IMAGE_TAG: &x86_build "2020-12-17-use-ephemeral"
MESA_IMAGE_TAG: &x86_build "2021-1-4-directx-headers"
.use-x86_build:
variables:

View File

@ -117,6 +117,15 @@ cd shader-db
make
popd
git clone https://github.com/microsoft/DirectX-Headers -b v1.0.1 --depth 1
pushd DirectX-Headers
mkdir build
cd build
meson .. --backend=ninja --buildtype=release -Dbuild-test=false
ninja
ninja install
popd
rm -rf DirectX-Headers
############### Uninstall the build software