Skip to content

Commit 560f9f6

Browse files
committed
source rapids-telemetry-setup to mkdir artifact dir
1 parent 0b9f9f3 commit 560f9f6

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

ci/build_cpp.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ source rapids-configure-sccache
99

1010
source rapids-date-string
1111

12+
source rapids-telemetry-setup
13+
1214
export CMAKE_GENERATOR=Ninja
1315

1416
rapids-print-env
@@ -18,8 +20,8 @@ rapids-logger "Begin cpp build"
1820
sccache --zero-stats
1921

2022
RAPIDS_PACKAGE_VERSION=$(rapids-generate-version) rapids-conda-retry mambabuild \
21-
conda/recipes/libcuml 2>&1 | tee telemetry-artifacts/build.log
23+
conda/recipes/libcuml 2>&1 | tee ${GITHUB_WORKSPACE}/telemetry-artifacts/build.log
2224

23-
sccache --show-adv-stats | tee telemetry-artifacts/sccache-stats.txt
25+
sccache --show-adv-stats | tee ${GITHUB_WORKSPACE}/telemetry-artifacts/sccache-stats.txt
2426

2527
rapids-upload-conda-to-s3 cpp

ci/build_python.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ source rapids-configure-sccache
99

1010
source rapids-date-string
1111

12+
source rapids-telemetry-setup
13+
1214
export CMAKE_GENERATOR=Ninja
1315

1416
rapids-print-env
@@ -26,9 +28,9 @@ sccache --zero-stats
2628
RAPIDS_PACKAGE_VERSION=$(head -1 ./VERSION) rapids-conda-retry mambabuild \
2729
--no-test \
2830
--channel "${CPP_CHANNEL}" \
29-
conda/recipes/cuml 2>&1 | tee telemetry-artifacts/build.log
31+
conda/recipes/cuml 2>&1 | tee ${GITHUB_WORKSPACE}/telemetry-artifacts/build.log
3032

31-
sccache --show-adv-stats | tee telemetry-artifacts/sccache-stats.txt
33+
sccache --show-adv-stats | tee ${GITHUB_WORKSPACE}/telemetry-artifacts/sccache-stats.txt
3234

3335
# Build cuml-cpu only in CUDA 11 jobs since it only depends on python
3436
# version

ci/build_wheel.sh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ package_dir=$2
88

99
source rapids-configure-sccache
1010
source rapids-date-string
11+
source rapids-telemetry-setup
1112

1213
rapids-generate-version > ./VERSION
1314

ci/build_wheel_cuml.sh

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ EXCLUDE_ARGS=(
2929
--exclude "librapids_logger.so"
3030
)
3131

32+
source rapids-telemetry-setup
33+
3234
sccache --zero-stats
3335

3436
export SKBUILD_CMAKE_ARGS="-DDISABLE_DEPRECATION_WARNINGS=ON;-DSINGLEGPU=OFF;-DUSE_LIBCUML_WHEEL=ON"

ci/build_wheel_libcuml.sh

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ EXCLUDE_ARGS=(
4343
--exclude "librapids_logger.so"
4444
)
4545

46+
source rapids-telemetry-setup
47+
4648
sccache --zero-stats
4749

4850
export SKBUILD_CMAKE_ARGS="-DDISABLE_DEPRECATION_WARNINGS=ON;-DCPM_cumlprims_mg_SOURCE=${GITHUB_WORKSPACE}/cumlprims_mg/"

0 commit comments

Comments
 (0)