Skip to content

Commit 8506b5d

Browse files
committed
TEMP: use CI artifacts from RMM/dependency PRs for testing
1 parent 24d3036 commit 8506b5d

18 files changed

Lines changed: 95 additions & 13 deletions

ci/build_cpp.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/bin/bash
22

3-
# SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0
55

66

77
set -euo pipefail
8+
source ./ci/use_conda_packages_from_prs.sh
89

910
source rapids-configure-sccache
1011

ci/build_docs.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/bin/bash
22

3-
# SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0
55

66
set -euo pipefail
7+
source ./ci/use_conda_packages_from_prs.sh
78

89
rapids-logger "Create test conda environment"
910
. /opt/conda/etc/profile.d/conda.sh
@@ -23,6 +24,7 @@ PYTHON_CHANNEL=$(rapids-download-conda-from-github python)
2324
rapids-logger "Generating conda environment YAML"
2425

2526
rapids-dependency-file-generator \
27+
"${RAPIDS_EXTRA_CONDA_CHANNEL_ARGS[@]}" \
2628
--output conda \
2729
--file-key docs \
2830
--prepend-channel "${CPP_CHANNEL}" \

ci/build_python.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/bin/bash
22

3-
# SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0
55

66
set -euo pipefail
7+
source ./ci/use_conda_packages_from_prs.sh
78

89
source rapids-configure-sccache
910

ci/build_wheel_cuopt.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55

66

77
set -euo pipefail
8-
98
source rapids-init-pip
109

10+
source ./ci/use_wheels_from_prs.sh
11+
1112
# Install rockylinux repo
1213
if command -v dnf &> /dev/null; then
1314
bash ci/utils/update_rockylinux_repo.sh

ci/build_wheel_cuopt_mps_parser.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55

66

77
set -euo pipefail
8-
98
source rapids-init-pip
109

10+
source ./ci/use_wheels_from_prs.sh
11+
1112
package_dir="python/cuopt/cuopt/linear_programming"
1213

1314
export SKBUILD_CMAKE_ARGS="-DCUOPT_BUILD_WHEELS=ON;-DDISABLE_DEPRECATION_WARNINGS=ON"

ci/build_wheel_cuopt_server.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
# SPDX-License-Identifier: Apache-2.0
55

66
set -euo pipefail
7-
87
source rapids-init-pip
98

9+
source ./ci/use_wheels_from_prs.sh
10+
1011
package_dir="python/cuopt_server"
1112

1213
ci/build_wheel.sh cuopt_server ${package_dir}

ci/build_wheel_cuopt_sh_client.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
# SPDX-License-Identifier: Apache-2.0
55

66
set -euo pipefail
7-
87
source rapids-init-pip
98

9+
source ./ci/use_wheels_from_prs.sh
10+
1011
package_dir="python/cuopt_self_hosted"
1112

1213
ci/build_wheel.sh cuopt_sh_client ${package_dir}

ci/build_wheel_libcuopt.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
# SPDX-License-Identifier: Apache-2.0
44

55
set -euo pipefail
6-
76
source rapids-init-pip
87

8+
source ./ci/use_wheels_from_prs.sh
9+
910
package_name="libcuopt"
1011
package_dir="python/libcuopt"
1112

ci/test_cpp.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/bin/bash
22

3-
# SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0
55

66
set -euo pipefail
7+
source ./ci/use_conda_packages_from_prs.sh
78

89
. /opt/conda/etc/profile.d/conda.sh
910

@@ -14,6 +15,7 @@ CPP_CHANNEL=$(rapids-download-conda-from-github cpp)
1415

1516
rapids-logger "Generate C++ testing dependencies"
1617
rapids-dependency-file-generator \
18+
"${RAPIDS_EXTRA_CONDA_CHANNEL_ARGS[@]}" \
1719
--output conda \
1820
--file-key test_cpp \
1921
--prepend-channel "${CPP_CHANNEL}" \

ci/test_cpp_memcheck.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
# SPDX-FileCopyrightText: Copyright (c) 2023-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
# SPDX-FileCopyrightText: Copyright (c) 2023-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
44
# SPDX-License-Identifier: Apache-2.0
55

66
if [[ "$(date +%A)" != "Friday" ]]; then
@@ -9,6 +9,7 @@ if [[ "$(date +%A)" != "Friday" ]]; then
99
fi
1010

1111
set -euo pipefail
12+
source ./ci/use_conda_packages_from_prs.sh
1213

1314
. /opt/conda/etc/profile.d/conda.sh
1415

@@ -19,6 +20,7 @@ RAPIDS_VERSION="$(rapids-version)"
1920

2021
rapids-logger "Generate C++ testing dependencies"
2122
rapids-dependency-file-generator \
23+
"${RAPIDS_EXTRA_CONDA_CHANNEL_ARGS[@]}" \
2224
--output conda \
2325
--file-key test_cpp \
2426
--matrix "cuda=${RAPIDS_CUDA_VERSION%.*};arch=$(arch)" | tee env.yaml

0 commit comments

Comments
 (0)