mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
ci/prepare-artifacts: turn file copies into a loop
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36354>
This commit is contained in:
parent
e7102511b0
commit
dd15dbae4b
1 changed files with 16 additions and 12 deletions
|
|
@ -34,18 +34,22 @@ echo "$(cat VERSION) (git-$git_sha)" > install/VERSION
|
|||
|
||||
# Test runs don't pull down the git tree, so put the dEQP helper
|
||||
# script and associated bits there.
|
||||
cp -Rp .gitlab-ci/bare-metal install/
|
||||
cp -Rp .gitlab-ci/common install/
|
||||
cp -Rp .gitlab-ci/piglit install/
|
||||
cp -Rp .gitlab-ci/fossils.yml install/
|
||||
cp -Rp .gitlab-ci/fossils install/
|
||||
cp -Rp .gitlab-ci/crosvm-init.sh install/
|
||||
cp -Rp .gitlab-ci/*.txt install/
|
||||
cp -Rp .gitlab-ci/report-flakes.py install/
|
||||
cp -Rp .gitlab-ci/setup-test-env.sh install/
|
||||
cp -Rp .gitlab-ci/*-runner.sh install/
|
||||
cp -Rp .gitlab-ci/bin/structured_logger.py install/
|
||||
cp -Rp .gitlab-ci/bin/custom_logger.py install/
|
||||
for f in \
|
||||
.gitlab-ci/bare-metal \
|
||||
.gitlab-ci/common \
|
||||
.gitlab-ci/piglit \
|
||||
.gitlab-ci/fossils.yml \
|
||||
.gitlab-ci/fossils \
|
||||
.gitlab-ci/crosvm-init.sh \
|
||||
.gitlab-ci/*.txt \
|
||||
.gitlab-ci/report-flakes.py \
|
||||
.gitlab-ci/setup-test-env.sh \
|
||||
.gitlab-ci/*-runner.sh \
|
||||
.gitlab-ci/bin/structured_logger.py \
|
||||
.gitlab-ci/bin/custom_logger.py \
|
||||
; do
|
||||
cp -Rp "$f" install/
|
||||
done
|
||||
|
||||
mapfile -t duplicate_files < <(
|
||||
find src/ -path '*/ci/*' \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue