Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ concurrency:
permissions: {}

jobs:
build-details:
uses: rapidsai/shared-workflows/.github/workflows/compute-build-details.yaml@main
telemetry-setup:
permissions:
id-token: write
Expand All @@ -49,7 +51,7 @@ jobs:
if: ${{ vars.TELEMETRY_ENABLED == 'true' }}
uses: rapidsai/shared-actions/telemetry-dispatch-stash-base-env-vars@main
cpp-build:
needs: [telemetry-setup]
needs: [build-details, telemetry-setup]
permissions:
actions: read
contents: read
Expand All @@ -60,13 +62,14 @@ jobs:
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@main
with:
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
node_type: cpu16
script: ci/build_cpp.sh
sha: ${{ inputs.sha }}
python-build:
needs: [telemetry-setup, cpp-build]
needs: [build-details, telemetry-setup, cpp-build]
permissions:
actions: read
contents: read
Expand All @@ -77,14 +80,15 @@ jobs:
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@main
with:
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
script: ci/build_python.sh
sha: ${{ inputs.sha }}
# Build a conda package for each CUDA x ARCH x minimum supported Python version
matrix_filter: group_by({CUDA_VER, ARCH}) | map(min_by(.PY_VER | split(".") | map(tonumber)))
python-build-noarch:
needs: [telemetry-setup, cpp-build, python-build]
needs: [build-details, telemetry-setup, cpp-build, python-build]
permissions:
actions: read
contents: read
Expand All @@ -95,6 +99,7 @@ jobs:
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@main
with:
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
date: ${{ inputs.date }}
script: ci/build_python_noarch.sh
Expand Down Expand Up @@ -159,7 +164,7 @@ jobs:
dry-run: false
version-map: '{"26.04": "legacy", "26.06": "stable"}'
wheel-build-libcudf:
needs: [telemetry-setup]
needs: [build-details, telemetry-setup]
permissions:
actions: read
contents: read
Expand All @@ -172,6 +177,7 @@ jobs:
# build for every combination of arch and CUDA version, but only for the latest Python
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
Expand Down Expand Up @@ -201,7 +207,7 @@ jobs:
# trailing underscore to avoid collision with `libcudf-streaming`
publish-wheel-search-key: cudf_wheel_cpp_libcudf_
wheel-build-libcudf-streaming:
needs: [telemetry-setup, wheel-build-libcudf]
needs: [build-details, telemetry-setup, wheel-build-libcudf]
permissions:
actions: read
contents: read
Expand All @@ -214,6 +220,7 @@ jobs:
# build for every combination of arch and CUDA version, but only for the latest Python
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber)))
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
Expand Down Expand Up @@ -242,7 +249,7 @@ jobs:
package-type: cpp
publish-wheel-search-key: cudf_wheel_cpp_libcudf-streaming
wheel-build-cudf-streaming:
needs: [telemetry-setup, wheel-build-libcudf-streaming, wheel-build-pylibcudf]
needs: [build-details, telemetry-setup, wheel-build-libcudf-streaming, wheel-build-pylibcudf]
permissions:
actions: read
contents: read
Expand All @@ -255,6 +262,7 @@ jobs:
# Build a wheel for each CUDA x ARCH x minimum supported Python version
matrix_filter: group_by({CUDA_VER, ARCH}) | map(min_by(.PY_VER | split(".") | map(tonumber)))
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
Expand Down Expand Up @@ -283,7 +291,7 @@ jobs:
package-type: python
publish-wheel-search-key: cudf_wheel_python_cudf-streaming
wheel-build-pylibcudf:
needs: [telemetry-setup, wheel-build-libcudf]
needs: [build-details, telemetry-setup, wheel-build-libcudf]
permissions:
actions: read
contents: read
Expand All @@ -294,6 +302,7 @@ jobs:
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@main
with:
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
Expand Down Expand Up @@ -322,7 +331,7 @@ jobs:
package-type: python
publish-wheel-search-key: cudf_wheel_python_pylibcudf
wheel-build-cudf:
needs: [telemetry-setup, wheel-build-pylibcudf]
needs: [build-details, telemetry-setup, wheel-build-pylibcudf]
permissions:
actions: read
contents: read
Expand All @@ -333,6 +342,7 @@ jobs:
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@main
with:
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
Expand Down Expand Up @@ -362,7 +372,7 @@ jobs:
# trailing underscore to avoid collision with `cudf-streaming` and `cudf-polars`
publish-wheel-search-key: cudf_wheel_python_cudf_
wheel-build-dask-cudf:
needs: [telemetry-setup, wheel-build-cudf]
needs: [build-details, telemetry-setup, wheel-build-cudf]
permissions:
actions: read
contents: read
Expand All @@ -375,6 +385,7 @@ jobs:
# This selects "ARCH=amd64 + the latest supported Python + CUDA".
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
Expand Down Expand Up @@ -402,7 +413,7 @@ jobs:
package-type: python
publish-wheel-search-key: cudf_wheel_python_dask-cudf
wheel-build-cudf-polars:
needs: [telemetry-setup, wheel-build-pylibcudf]
needs: [build-details, telemetry-setup, wheel-build-pylibcudf]
permissions:
actions: read
contents: read
Expand All @@ -415,6 +426,7 @@ jobs:
# This selects "ARCH=amd64 + the latest supported Python + CUDA".
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
build_type: ${{ inputs.build_type || 'branch' }}
build-datetime: ${{ needs.build-details.outputs.build-datetime }}
branch: ${{ inputs.branch }}
sha: ${{ inputs.sha }}
date: ${{ inputs.date }}
Expand Down
Loading
Loading