ci/vkd3d: ensure test-runner.sh has the right mode

And just like the other executable above, instead of adding `chmod`
after `mkdir`+`cp`, let's use `install` which does all of the above in
one nice command.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39670>
This commit is contained in:
Eric Engestrom 2025-08-11 18:51:57 +02:00 committed by Marge Bot
parent 0b89e9457a
commit d4aa7ed21b

View file

@ -44,10 +44,7 @@ ninja -C build install
install -m755 -t "${VKD3D_PROTON_DST_DIR}/" build/tests/d3d12
mkdir "$VKD3D_PROTON_DST_DIR/tests"
cp \
"tests/test-runner.sh" \
"$VKD3D_PROTON_DST_DIR/tests/"
install -m755 -t "${VKD3D_PROTON_DST_DIR}/tests" tests/test-runner.sh
popd
# Archive and upload vkd3d-proton for use as a LAVA overlay, if the archive doesn't exist yet