diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7281b81db8..24db1550fb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -47,6 +47,15 @@ jobs: date: ${{ inputs.date }} sha: ${{ inputs.sha }} script: ci/build_python.sh + upload-conda: + needs: [cpp-build, python-build] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-25.06 + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + date: ${{ inputs.date }} + sha: ${{ inputs.sha }} wheel-build-cuopt-mps-parser: secrets: inherit uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.06 @@ -60,6 +69,17 @@ jobs: package-name: cuopt_mps_parser package-type: python append-cuda-suffix: false + wheel-publish-cuopt-mps-parser: + needs: wheel-build-cuopt-mps-parser + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-25.06 + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + sha: ${{ inputs.sha }} + date: ${{ inputs.date }} + package-name: cuopt_mps_parser + package-type: python wheel-build-libcuopt: needs: wheel-build-cuopt-mps-parser secrets: inherit @@ -73,6 +93,17 @@ jobs: package-name: libcuopt package-type: cpp matrix_filter: map(select((.CUDA_VER | startswith("12")) and .PY_VER == "3.12")) + wheel-publish-libcuopt: + needs: wheel-build-libcuopt + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-25.06 + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + sha: ${{ inputs.sha }} + date: ${{ inputs.date }} + package-name: libcuopt + package-type: cpp wheel-build-cuopt: needs: [wheel-build-cuopt-mps-parser, wheel-build-libcuopt] secrets: inherit @@ -86,6 +117,17 @@ jobs: script: ci/build_wheel_cuopt.sh package-name: cuopt package-type: python + wheel-publish-cuopt: + needs: wheel-build-cuopt + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-25.06 + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + sha: ${{ inputs.sha }} + date: ${{ inputs.date }} + package-name: cuopt + package-type: python wheel-build-cuopt-server: needs: wheel-build-cuopt secrets: inherit @@ -99,6 +141,17 @@ jobs: script: ci/build_wheel_cuopt_server.sh package-name: cuopt_server package-type: python + wheel-publish-cuopt-server: + needs: wheel-build-cuopt-server + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-25.06 + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + sha: ${{ inputs.sha }} + date: ${{ inputs.date }} + package-name: cuopt_server + package-type: python #docs-build: # if: inputs.build_type == 'nightly' || github.ref_type == 'branch' # needs: [python-build] @@ -127,6 +180,17 @@ jobs: package-name: cuopt_sh_client package-type: python append-cuda-suffix: false + wheel-publish-cuopt-sh-client: + needs: wheel-build-cuopt-sh-client + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-25.06 + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + sha: ${{ inputs.sha }} + date: ${{ inputs.date }} + package-name: cuopt_sh_client + package-type: python service-container: if: inputs.build_type == 'nightly' needs: [wheel-build-cuopt, wheel-build-cuopt-server] diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 8d4760f502..dfd8d68266 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -23,11 +23,15 @@ jobs: export DATE=$(date +%F) export SHA=$(gh api -q '.commit.sha' "repos/nvidia/cuopt/branches/${CUOPT_BRANCH}") - gh workflow run build.yaml \ + RUN_ID=$(gh workflow run build.yaml \ -f branch=${CUOPT_BRANCH} \ -f sha=${SHA} \ -f date=${DATE} \ - -f build_type=nightly + -f build_type=nightly \ + --json databaseId --jq '.databaseId') + + # Wait for workflow to complete + gh run watch $RUN_ID trigger-test: runs-on: ubuntu-latest