From 9981ce8d98953c6353cbc883db225412952459cc Mon Sep 17 00:00:00 2001 From: liushuyu Date: Sat, 18 Jun 2022 23:15:30 -0600 Subject: CI: upload artifacts for pull request verification --- .ci/scripts/clang/upload.sh | 0 .ci/scripts/common/post-upload.sh | 6 ++++-- .ci/scripts/linux/upload.sh | 0 .ci/scripts/windows/upload.sh | 0 4 files changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 .ci/scripts/clang/upload.sh mode change 100644 => 100755 .ci/scripts/linux/upload.sh mode change 100644 => 100755 .ci/scripts/windows/upload.sh (limited to '.ci/scripts') diff --git a/.ci/scripts/clang/upload.sh b/.ci/scripts/clang/upload.sh old mode 100644 new mode 100755 diff --git a/.ci/scripts/common/post-upload.sh b/.ci/scripts/common/post-upload.sh index 387431564..91ef750fe 100644 --- a/.ci/scripts/common/post-upload.sh +++ b/.ci/scripts/common/post-upload.sh @@ -4,8 +4,10 @@ cp license.txt "$DIR_NAME" cp README.md "$DIR_NAME" -tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt -cp "${REV_NAME}-source.tar.xz" "$DIR_NAME" +if [[ "x${NO_SOURCE_PACK}" == "x" ]]; then + tar -cJvf "${REV_NAME}-source.tar.xz" src externals CMakeLists.txt README.md license.txt + cp -v "${REV_NAME}-source.tar.xz" "$DIR_NAME" +fi tar $COMPRESSION_FLAGS "$ARCHIVE_NAME" "$DIR_NAME" diff --git a/.ci/scripts/linux/upload.sh b/.ci/scripts/linux/upload.sh old mode 100644 new mode 100755 diff --git a/.ci/scripts/windows/upload.sh b/.ci/scripts/windows/upload.sh old mode 100644 new mode 100755 -- cgit v1.2.3