forked from rapidsai/kvikio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request rapidsai#151 from vyasr/feat/reenable_pr_ci
Reenable PR CI
- Loading branch information
Showing
14 changed files
with
121 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,14 @@ jobs: | |
pr-builder: | ||
needs: | ||
- checks | ||
- changed_files | ||
- conda-cpp-build | ||
- conda-cpp-tests | ||
- conda-python-build | ||
- conda-python-cudf-tests | ||
- conda-python-other-tests | ||
- conda-java-tests | ||
- conda-notebook-tests | ||
- docs-build | ||
- wheel-build-cudf | ||
- wheel-build-cudf-main | ||
- wheel-tests-cudf | ||
|
@@ -31,50 +38,88 @@ jobs: | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
enable_check_generated_files: false | ||
changed_files: | ||
runs-on: ubuntu-latest | ||
name: Test changed files | ||
outputs: | ||
cudf_files_changed: ${{ steps.changed_files.outputs.cudf_files_changed }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Get changed files in cudf | ||
id: changed_files | ||
run: | | ||
git fetch origin branch-23.10-xdf | ||
diff=$(git diff --name-only origin/branch-23.10-xdf..HEAD python/cudf) | ||
if [ -n "$diff" ]; then | ||
has_changes='true' | ||
else | ||
has_changes='false' | ||
fi | ||
echo "Found changed: ${has_changes}" | ||
echo "cudf_files_changed=${has_changes}" >> "$GITHUB_OUTPUT" | ||
wheel-build-cudf: | ||
conda-cpp-build: | ||
needs: checks | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/wheels[email protected] | ||
uses: rapidsai/shared-workflows/.github/workflows/conda-cpp[email protected] | ||
with: | ||
matrix_filter: map(select(.ARCH == "amd64" and .PY_VER == "3.10" and (.CUDA_VER == "11.8.0" or .CUDA_VER == "12.0.1"))) | ||
build_type: pull-request | ||
script: "ci/build_wheel_cudf.sh" | ||
conda-cpp-tests: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
conda-python-build: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
conda-python-cudf-tests: | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
test_script: "ci/test_python_cudf.sh" | ||
conda-python-other-tests: | ||
# Tests for dask_cudf, custreamz, cudf_kafka are separated for CI parallelism | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
test_script: "ci/test_python_other.sh" | ||
conda-java-tests: | ||
needs: conda-cpp-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
node_type: "gpu-v100-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: "ci/test_java.sh" | ||
conda-notebook-tests: | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
node_type: "gpu-v100-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: "ci/test_notebooks.sh" | ||
docs-build: | ||
needs: conda-python-build | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
node_type: "gpu-v100-latest-1" | ||
arch: "amd64" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: "ci/build_docs.sh" | ||
wheel-build-cudf-main: | ||
needs: checks | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
matrix_filter: map(select(.ARCH == "amd64" and .PY_VER == "3.10" and (.CUDA_VER == "11.8.0" or .CUDA_VER == "12.0.1"))) | ||
build_type: pull-request | ||
script: "ci/build_wheel_cudf.sh main" | ||
wheel-build-cudf: | ||
needs: checks | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
script: "ci/build_wheel_cudf.sh" | ||
wheel-tests-cudf: | ||
if: needs.changed_files.outputs.cudf_files_changed == 'true' | ||
needs: [wheel-build-cudf, changed_files] | ||
needs: wheel-build-cudf | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
matrix_filter: map(select(.ARCH == "amd64" and .PY_VER == "3.10" and (.CUDA_VER == "11.8.0" or .CUDA_VER == "12.0.1"))) | ||
build_type: pull-request | ||
script: ci/test_wheel_cudf.sh | ||
wheel-build-dask-cudf: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,7 @@ requirements: | |
- nvtx >=0.2.1 | ||
- packaging | ||
- cachetools | ||
- rich | ||
|
||
test: | ||
requires: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,16 @@ | ||
# Copyright (c) 2020-2022, NVIDIA CORPORATION. | ||
# Copyright (c) 2020-2023, NVIDIA CORPORATION. | ||
|
||
# This assumes the script is executed from the root of the repo directory | ||
# Need to set CUDA_HOME inside conda environments because the hacked together | ||
# setup.py for cudf-kafka searches that way. | ||
# TODO: Remove after https://github.com/rapidsai/cudf/pull/14292 updates | ||
# cudf_kafka to use scikit-build | ||
CUDA_MAJOR=${RAPIDS_CUDA_VERSION%%.*} | ||
if [[ ${CUDA_MAJOR} == "12" ]]; then | ||
target_name="x86_64-linux" | ||
if [[ ! $(arch) == "x86_64" ]]; then | ||
target_name="sbsa-linux" | ||
fi | ||
export CUDA_HOME="${PREFIX}/targets/${target_name}/" | ||
fi | ||
./build.sh -v cudf_kafka |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters