Skip to content

Commit db00b53

Browse files
committed
fix PR
1 parent 0f0b797 commit db00b53

File tree

3 files changed

+223
-9
lines changed

3 files changed

+223
-9
lines changed

.github/workflows/build_images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
build-args: |
8888
CUDA_VER=${{ inputs.CUDA_VER }}
8989
PYTHON_VER=${{ inputs.PYTHON_VER }}
90-
CUOPT_VER=25.8.0a43
90+
CUOPT_VER=${{ inputs.CUOPT_VER }}
9191
tags: nvidia/cuopt:${{ inputs.IMAGE_TAG_PREFIX }}-cuda${{ steps.trim.outputs.CUDA_SHORT }}-py${{ steps.trim.outputs.PYTHON_SHORT }}-${{ matrix.ARCH }}
9292

9393
- name: Push image to NGC

.github/workflows/pr.yaml

Lines changed: 221 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,226 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
build-images:
14-
uses: ./.github/workflows/build_test_publish_images.yaml
13+
pr-builder:
14+
needs:
15+
- changed-files
16+
- checks
17+
- conda-cpp-build
18+
- conda-cpp-tests
19+
- conda-python-build
20+
- conda-python-tests
21+
- wheel-build-libcuopt
22+
# - conda-notebook-tests
23+
- wheel-build-cuopt
24+
- wheel-tests-cuopt
25+
- wheel-build-cuopt-server
26+
- wheel-tests-cuopt-server
27+
- wheel-build-cuopt-mps-parser
28+
- wheel-build-cuopt-sh-client
29+
- test-self-hosted-server
1530
secrets: inherit
31+
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-25.08
32+
changed-files:
33+
secrets: inherit
34+
uses: rapidsai/shared-workflows/.github/workflows/changed-files.yaml@branch-25.08
35+
with:
36+
files_yaml: |
37+
test_cpp:
38+
- '**'
39+
- '!CONTRIBUTING.md'
40+
- '!README.md'
41+
- '!ci/release/update-version-cuopt.sh'
42+
- '!ci/release/update-version-rapids.sh'
43+
- '!docs/**'
44+
- '!img/**'
45+
- '!notebooks/**'
46+
- '!python/**'
47+
- '!readme_pages/**'
48+
- '!container-builder/**'
49+
- '!helm-chart/**'
50+
- '!ngc/**'
51+
- '!omniverse/**'
52+
- '!regression/**'
53+
- '!resources/**'
54+
- '!ucf/**'
55+
- '!utilities/**'
56+
test_notebooks:
57+
- '**'
58+
- '!CONTRIBUTING.md'
59+
- '!README.md'
60+
- '!ci/release/update-version-cuopt.sh'
61+
- '!ci/release/update-version-rapids.sh'
62+
- '!docs/**'
63+
- '!python/nvcf_client/**'
64+
test_python:
65+
- '**'
66+
- '!CONTRIBUTING.md'
67+
- '!README.md'
68+
- '!ci/release/update-version-cuopt.sh'
69+
- '!ci/release/update-version-rapids.sh'
70+
- '!docs/**'
71+
- '!img/**'
72+
- '!notebooks/**'
73+
- '!python/nvcf_client/**'
74+
test_python_cuopt:
75+
- '**'
76+
- '!CONTRIBUTING.md'
77+
- '!README.md'
78+
- '!ci/release/update-version-cuopt.sh'
79+
- '!ci/release/update-version-rapids.sh'
80+
- '!docs/**'
81+
- '!img/**'
82+
- '!notebooks/**'
83+
- '!python/cuopt_self_hosted/**'
84+
- '!python/cuopt_server/**'
85+
- '!python/nvcf_client/**'
86+
test_python_cuopt_server:
87+
- '**'
88+
- '!CONTRIBUTING.md'
89+
- '!README.md'
90+
- '!ci/release/update-version-cuopt.sh'
91+
- '!ci/release/update-version-rapids.sh'
92+
- '!docs/**'
93+
- '!img/**'
94+
- '!notebooks/**'
95+
- '!python/cuopt_self_hosted/**'
96+
- '!python/nvcf_client/**'
97+
checks:
98+
secrets: inherit
99+
uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@branch-25.08
100+
with:
101+
enable_check_generated_files: false
102+
103+
conda-cpp-build:
104+
needs: checks
105+
secrets: inherit
106+
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@branch-25.08
107+
with:
108+
build_type: pull-request
109+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
110+
script: ci/build_cpp.sh
111+
conda-cpp-tests:
112+
needs: [conda-cpp-build, changed-files]
113+
secrets: inherit
114+
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@branch-25.08
115+
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp
116+
with:
117+
build_type: pull-request
118+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
119+
script: ci/test_cpp.sh
120+
conda-python-build:
121+
needs: conda-cpp-build
122+
secrets: inherit
123+
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.08
124+
with:
125+
build_type: pull-request
126+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
127+
script: ci/build_python.sh
128+
conda-python-tests:
129+
needs: [conda-python-build, changed-files]
130+
secrets: inherit
131+
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-25.08
132+
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python
133+
with:
134+
run_codecov: false
135+
build_type: pull-request
136+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
137+
script: ci/test_python.sh
138+
#docs-build:
139+
# needs: checks
140+
# secrets: inherit
141+
# uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-25.08
142+
# with:
143+
# build_type: pull-request
144+
# node_type: "cpu4"
145+
# arch: amd64
146+
# container_image: rapidsai/ci-conda:cuda11.8.0-ubuntu22.04-py3.10
147+
# run_script: ci/build_docs.sh
148+
#conda-notebook-tests:
149+
# needs: [conda-python-build, changed-files]
150+
# secrets: inherit
151+
# uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-25.08
152+
# #if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_notebooks
153+
# with:
154+
# build_type: pull-request
155+
# node_type: "gpu-l4-latest-1"
156+
# arch: "amd64"
157+
# container_image: "rapidsai/ci-conda:cuda11.8.0-ubuntu22.04-py3.10"
158+
# run_script: "ci/test_notebooks.sh"
159+
wheel-build-cuopt-mps-parser:
160+
secrets: inherit
161+
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.08
162+
with:
163+
build_type: pull-request
164+
script: ci/build_wheel_cuopt_mps_parser.sh
165+
package-name: cuopt_mps_parser
166+
package-type: python
167+
append-cuda-suffix: false
168+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
169+
wheel-build-libcuopt:
170+
needs: wheel-build-cuopt-mps-parser
171+
secrets: inherit
172+
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.08
173+
with:
174+
# build for every combination of arch and CUDA version, but only for the latest Python
175+
matrix_filter: map(select((.CUDA_VER | startswith("12")) and .PY_VER == "3.12"))
176+
package-type: cpp
177+
package-name: libcuopt
178+
build_type: pull-request
179+
script: ci/build_wheel_libcuopt.sh
180+
wheel-build-cuopt:
181+
needs: [wheel-build-cuopt-mps-parser, wheel-build-libcuopt]
182+
secrets: inherit
183+
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.08
184+
with:
185+
build_type: pull-request
186+
script: ci/build_wheel_cuopt.sh
187+
package-name: cuopt
188+
package-type: python
189+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
190+
wheel-tests-cuopt:
191+
needs: [wheel-build-cuopt, wheel-build-cuopt-mps-parser, changed-files]
192+
secrets: inherit
193+
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.08
194+
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_cuopt
195+
with:
196+
build_type: pull-request
197+
script: ci/test_wheel_cuopt.sh
198+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
199+
wheel-build-cuopt-server:
200+
needs: wheel-build-cuopt
201+
secrets: inherit
202+
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.08
203+
with:
204+
build_type: pull-request
205+
script: ci/build_wheel_cuopt_server.sh
206+
package-name: cuopt_server
207+
package-type: python
208+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
209+
wheel-build-cuopt-sh-client:
210+
secrets: inherit
211+
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.08
212+
with:
213+
build_type: pull-request
214+
script: ci/build_wheel_cuopt_sh_client.sh
215+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
216+
package-name: cuopt_sh_client
217+
package-type: python
218+
append-cuda-suffix: false
219+
wheel-tests-cuopt-server:
220+
needs: [wheel-build-cuopt-server, changed-files]
221+
secrets: inherit
222+
uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.08
223+
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python_cuopt_server
224+
with:
225+
build_type: pull-request
226+
script: ci/test_wheel_cuopt_server.sh
227+
matrix_filter: map(select((.CUDA_VER | startswith("12"))))
228+
test-self-hosted-server:
229+
needs: [wheel-build-cuopt-server, changed-files]
230+
secrets: inherit
231+
uses: ./.github/workflows/self_hosted_service_test.yaml
232+
#if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python
16233
with:
17-
branch: "branch-25.08"
18-
sha: "e0dc603"
19-
date: "2025-07-03"
20-
build_type: "nightly"
21-
234+
build_type: pull-request
235+
script: ci/test_self_hosted_service.sh

ci/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1.2
2-
# SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
# SPDX-License-Identifier: Apache-2.0
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)