From 2c31b9e6c2e215dd0386d64988c8cc8e3506008a Mon Sep 17 00:00:00 2001 From: David Heidelberg Date: Mon, 7 Oct 2024 13:55:25 -0400 Subject: [PATCH] ci/piglit: keep the include_test.h used for OpenCL testing Since https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/956 the file is shipped properly, preserve it in MesaCI too. Signed-off-by: David Heidelberg Part-of: --- .gitlab-ci/container/build-piglit.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/container/build-piglit.sh b/.gitlab-ci/container/build-piglit.sh index c2dec6c4fba..1445dbb378e 100644 --- a/.gitlab-ci/container/build-piglit.sh +++ b/.gitlab-ci/container/build-piglit.sh @@ -16,7 +16,8 @@ git checkout "$REV" patch -p1 <$OLDPWD/.gitlab-ci/piglit/disable-vs_in.diff cmake -S . -B . -G Ninja -DCMAKE_BUILD_TYPE=Release $PIGLIT_OPTS $EXTRA_CMAKE_ARGS ninja $PIGLIT_BUILD_TARGETS -find . -depth \( -name .git -o -name '*ninja*' -o -iname '*cmake*' -o -name '*.[chao]' \) -exec rm -rf {} \; +find . -depth \( -name .git -o -name '*ninja*' -o -iname '*cmake*' -o -name '*.[chao]' \) \ + ! -name 'include_test.h' -exec rm -rf {} \; rm -rf target_api if [ "$PIGLIT_BUILD_TARGETS" = "piglit_replayer" ]; then find . -depth \