[libcxx-commits] [libcxx] afd3478 - [clang][ci] Upload artifacts in a tarball to reduce size and avoid symlink issues
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 5 12:45:59 PDT 2023
Author: Louis Dionne
Date: 2023-05-05T15:45:52-04:00
New Revision: afd3478f37c8734ec6a0f028f772645a108d14b2
URL: https://github.com/llvm/llvm-project/commit/afd3478f37c8734ec6a0f028f772645a108d14b2
DIFF: https://github.com/llvm/llvm-project/commit/afd3478f37c8734ec6a0f028f772645a108d14b2.diff
LOG: [clang][ci] Upload artifacts in a tarball to reduce size and avoid symlink issues
Added:
Modified:
libcxx/utils/ci/buildkite-pipeline-clang.yml
Removed:
################################################################################
diff --git a/libcxx/utils/ci/buildkite-pipeline-clang.yml b/libcxx/utils/ci/buildkite-pipeline-clang.yml
index 3e40c2bc0fef3..c030257fe82b6 100644
--- a/libcxx/utils/ci/buildkite-pipeline-clang.yml
+++ b/libcxx/utils/ci/buildkite-pipeline-clang.yml
@@ -24,7 +24,8 @@ steps:
# but with the number of jobs we run daily, this can result in thousands of GB of network I/O.
- "cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install -DLLVM_ENABLE_PROJECTS=\"clang;compiler-rt\""
- "ninja -C build install-clang install-clang-resource-headers"
- - "buildkite-agent artifact upload --debug 'install/**/*'"
+ - "tar -czvf install.tar.gz install/"
+ - "buildkite-agent artifact upload --debug install.tar.gz"
env:
CC: "clang-${LLVM_HEAD_VERSION}"
CXX: "clang++-${LLVM_HEAD_VERSION}"
@@ -41,7 +42,8 @@ steps:
- label: "C++03"
commands:
- - "buildkite-agent artifact download 'install/**' ."
+ - "buildkite-agent artifact download install.tar.gz ."
+ - "tar -xzvf install.tar.gz"
- "export CC=$(pwd)/install/bin/clang"
- "export CXX=$(pwd)/install/bin/clang++"
- "chmod +x install/bin/clang install/bin/clang++"
@@ -63,7 +65,8 @@ steps:
- label: "C++2b"
commands:
- - "buildkite-agent artifact download 'install/**' ."
+ - "buildkite-agent artifact download install.tar.gz ."
+ - "tar -xzvf install.tar.gz"
- "export CC=$(pwd)/install/bin/clang"
- "export CXX=$(pwd)/install/bin/clang++"
- "chmod +x install/bin/clang install/bin/clang++"
@@ -85,7 +88,8 @@ steps:
- label: "Modules"
commands:
- - "buildkite-agent artifact download 'install/**' ."
+ - "buildkite-agent artifact download install.tar.gz ."
+ - "tar -xzvf install.tar.gz"
- "export CC=$(pwd)/install/bin/clang"
- "export CXX=$(pwd)/install/bin/clang++"
- "chmod +x install/bin/clang install/bin/clang++"
More information about the libcxx-commits
mailing list