From 316833c790409e6331181fd51e72d4444df38638 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Mon, 16 Dec 2024 15:56:38 -0600 Subject: [PATCH] restore CI --- .github/workflows/pr.yaml | 202 +++++++++++++++++++------------------- 1 file changed, 101 insertions(+), 101 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 8b080b3..717fe82 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -13,20 +13,20 @@ jobs: pr-builder: needs: - changed-files - # - devcontainer + - devcontainer - checks - conda-cpp-build - # - conda-cpp-tests - # - conda-python-build - # - conda-python-tests + - conda-cpp-tests + - conda-python-build + - conda-python-tests - docs-build - # - conda-notebook-tests - # - wheel-build-pylibwholegraph - # - wheel-tests-pylibwholegraph - # - wheel-build-cugraph-dgl - # - wheel-tests-cugraph-dgl - # - wheel-build-cugraph-pyg - # - wheel-tests-cugraph-pyg + - conda-notebook-tests + - wheel-build-pylibwholegraph + - wheel-tests-pylibwholegraph + - wheel-build-cugraph-dgl + - wheel-tests-cugraph-dgl + - wheel-build-cugraph-pyg + - wheel-tests-cugraph-pyg secrets: inherit uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-25.02 if: always() @@ -64,16 +64,16 @@ jobs: - '!img/**' - '!notebooks/**' - '!readme_pages/**' - # devcontainer: - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@branch-25.02 - # with: - # arch: '["amd64"]' - # cuda: '["12.5"]' - # build_command: | - # sccache -z; - # build-all --verbose -j$(nproc --ignore=1); - # sccache -s; + devcontainer: + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@branch-25.02 + with: + arch: '["amd64"]' + cuda: '["12.5"]' + build_command: | + sccache -z; + build-all --verbose -j$(nproc --ignore=1); + sccache -s; checks: secrets: inherit uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@branch-25.02 @@ -85,38 +85,38 @@ jobs: uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@branch-25.02 with: build_type: pull-request - # conda-cpp-tests: - # needs: [conda-cpp-build, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@branch-25.02 - # if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp - # with: - # build_type: pull-request - # conda-python-build: - # needs: conda-cpp-build - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.02 - # with: - # build_type: pull-request - # conda-notebook-tests: - # needs: [conda-python-build, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-25.02 - # if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_notebooks - # with: - # build_type: pull-request - # node_type: "gpu-v100-latest-1" - # arch: "amd64" - # container_image: "rapidsai/ci-conda:cuda11.8.0-ubuntu22.04-py3.12" - # run_script: "ci/test_notebooks.sh" - # conda-python-tests: - # needs: [conda-python-build, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-25.02 - # if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python - # with: - # build_type: pull-request - # matrix_filter: map(select(.ARCH == "amd64")) + conda-cpp-tests: + needs: [conda-cpp-build, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@branch-25.02 + if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_cpp + with: + build_type: pull-request + conda-python-build: + needs: conda-cpp-build + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.02 + with: + build_type: pull-request + conda-notebook-tests: + needs: [conda-python-build, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-25.02 + if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_notebooks + with: + build_type: pull-request + node_type: "gpu-v100-latest-1" + arch: "amd64" + container_image: "rapidsai/ci-conda:cuda11.8.0-ubuntu22.04-py3.12" + run_script: "ci/test_notebooks.sh" + conda-python-tests: + needs: [conda-python-build, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-25.02 + if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python + with: + build_type: pull-request + matrix_filter: map(select(.ARCH == "amd64")) docs-build: needs: conda-cpp-build secrets: inherit @@ -126,51 +126,51 @@ jobs: build_type: pull-request container_image: "rapidsai/ci-conda:cuda12.5.1-ubuntu22.04-py3.11" run_script: "ci/build_docs.sh" - # wheel-build-pylibwholegraph: - # needs: checks - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.02 - # with: - # build_type: pull-request - # script: ci/build_wheel_pylibwholegraph.sh - # wheel-tests-pylibwholegraph: - # needs: [wheel-build-pylibwholegraph, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.02 - # if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python - # with: - # build_type: pull-request - # script: ci/test_wheel_pylibwholegraph.sh - # matrix_filter: map(select(.ARCH == "amd64")) - # wheel-build-cugraph-dgl: - # needs: checks - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.02 - # with: - # build_type: pull-request - # script: ci/build_wheel_cugraph-dgl.sh - # wheel-tests-cugraph-dgl: - # needs: [wheel-build-pylibwholegraph, wheel-build-cugraph-dgl, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.02 - # if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python - # with: - # build_type: pull-request - # script: ci/test_wheel_cugraph-dgl.sh - # matrix_filter: map(select(.ARCH == "amd64")) - # wheel-build-cugraph-pyg: - # needs: checks - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.02 - # with: - # build_type: pull-request - # script: ci/build_wheel_cugraph-pyg.sh - # wheel-tests-cugraph-pyg: - # needs: [wheel-build-pylibwholegraph, wheel-build-cugraph-pyg, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.02 - # if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python - # with: - # build_type: pull-request - # script: ci/test_wheel_cugraph-pyg.sh - # matrix_filter: map(select(.ARCH == "amd64")) + wheel-build-pylibwholegraph: + needs: checks + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.02 + with: + build_type: pull-request + script: ci/build_wheel_pylibwholegraph.sh + wheel-tests-pylibwholegraph: + needs: [wheel-build-pylibwholegraph, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.02 + if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python + with: + build_type: pull-request + script: ci/test_wheel_pylibwholegraph.sh + matrix_filter: map(select(.ARCH == "amd64")) + wheel-build-cugraph-dgl: + needs: checks + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.02 + with: + build_type: pull-request + script: ci/build_wheel_cugraph-dgl.sh + wheel-tests-cugraph-dgl: + needs: [wheel-build-pylibwholegraph, wheel-build-cugraph-dgl, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.02 + if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python + with: + build_type: pull-request + script: ci/test_wheel_cugraph-dgl.sh + matrix_filter: map(select(.ARCH == "amd64")) + wheel-build-cugraph-pyg: + needs: checks + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.02 + with: + build_type: pull-request + script: ci/build_wheel_cugraph-pyg.sh + wheel-tests-cugraph-pyg: + needs: [wheel-build-pylibwholegraph, wheel-build-cugraph-pyg, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@branch-25.02 + if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python + with: + build_type: pull-request + script: ci/test_wheel_cugraph-pyg.sh + matrix_filter: map(select(.ARCH == "amd64"))