Skip to content

Commit f7ab898

Browse files
authored
add nightly builds/tests, remove some cugraph references (#61)
Continues the work of setting up CI here (breaking more changes off of #53). Proposes adding nightly builds / tests, but **not publishing** to the nightly PyPI index / `rapidsai-nightly` conda channel. Those publishing jobs should be added here only once `cugraph` folks are ready to fully move development of these libraries to this repo. ref: #58 (comment) This also removes some minor lingering cugraph references that look like they don't belong in this repo. Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Bradley Dice (https://github.com/bdice) URL: #61
1 parent 31ee98f commit f7ab898

File tree

6 files changed

+139
-25
lines changed

6 files changed

+139
-25
lines changed

.github/workflows/build.yaml

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- "branch-*"
7+
tags:
8+
- v[0-9][0-9].[0-9][0-9].[0-9][0-9]
9+
workflow_dispatch:
10+
inputs:
11+
branch:
12+
required: true
13+
type: string
14+
date:
15+
required: true
16+
type: string
17+
sha:
18+
required: true
19+
type: string
20+
build_type:
21+
type: string
22+
default: nightly
23+
24+
concurrency:
25+
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
26+
cancel-in-progress: true
27+
28+
jobs:
29+
cpp-build:
30+
secrets: inherit
31+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
32+
with:
33+
build_type: ${{ inputs.build_type || 'branch' }}
34+
branch: ${{ inputs.branch }}
35+
date: ${{ inputs.date }}
36+
sha: ${{ inputs.sha }}
37+
python-build:
38+
needs: [cpp-build]
39+
secrets: inherit
40+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
41+
with:
42+
build_type: ${{ inputs.build_type || 'branch' }}
43+
branch: ${{ inputs.branch }}
44+
date: ${{ inputs.date }}
45+
sha: ${{ inputs.sha }}
46+
wheel-build-cugraph-dgl:
47+
secrets: inherit
48+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
49+
with:
50+
build_type: ${{ inputs.build_type || 'branch' }}
51+
branch: ${{ inputs.branch }}
52+
sha: ${{ inputs.sha }}
53+
date: ${{ inputs.date }}
54+
script: ci/build_wheel_cugraph-dgl.sh
55+
wheel-build-cugraph-pyg:
56+
secrets: inherit
57+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
58+
with:
59+
build_type: ${{ inputs.build_type || 'branch' }}
60+
branch: ${{ inputs.branch }}
61+
sha: ${{ inputs.sha }}
62+
date: ${{ inputs.date }}
63+
script: ci/build_wheel_cugraph-pyg.sh
64+
wheel-build-pylibwholegraph:
65+
secrets: inherit
66+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
67+
with:
68+
build_type: ${{ inputs.build_type || 'branch' }}
69+
branch: ${{ inputs.branch }}
70+
sha: ${{ inputs.sha }}
71+
date: ${{ inputs.date }}
72+
script: ci/build_wheel_pylibwholegraph.sh

.github/workflows/pr.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ jobs:
7070
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
7171
with:
7272
build_type: pull-request
73-
node_type: cpu32
7473
conda-cpp-tests:
7574
needs: [conda-cpp-build, changed-files]
7675
secrets: inherit
@@ -98,7 +97,6 @@ jobs:
9897
with:
9998
build_type: pull-request
10099
script: ci/build_wheel_pylibwholegraph.sh
101-
node_type: cpu32
102100
wheel-tests-pylibwholegraph:
103101
needs: [wheel-build-pylibwholegraph, changed-files]
104102
secrets: inherit

.github/workflows/test.yaml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: test
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
branch:
7+
required: true
8+
type: string
9+
date:
10+
required: true
11+
type: string
12+
sha:
13+
required: true
14+
type: string
15+
16+
jobs:
17+
conda-cpp-tests:
18+
secrets: inherit
19+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
20+
with:
21+
build_type: nightly
22+
branch: ${{ inputs.branch }}
23+
date: ${{ inputs.date }}
24+
sha: ${{ inputs.sha }}
25+
conda-python-tests:
26+
secrets: inherit
27+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
28+
with:
29+
build_type: nightly
30+
branch: ${{ inputs.branch }}
31+
date: ${{ inputs.date }}
32+
sha: ${{ inputs.sha }}
33+
wheel-tests-pylibwholegraph:
34+
secrets: inherit
35+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
36+
with:
37+
build_type: nightly
38+
branch: ${{ inputs.branch }}
39+
date: ${{ inputs.date }}
40+
sha: ${{ inputs.sha }}
41+
script: ci/test_wheel_pylibwholegraph.sh
42+
matrix_filter: map(select(.ARCH == "amd64"))
43+
wheel-tests-cugraph-dgl:
44+
secrets: inherit
45+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
46+
with:
47+
build_type: nightly
48+
branch: ${{ inputs.branch }}
49+
date: ${{ inputs.date }}
50+
sha: ${{ inputs.sha }}
51+
script: ci/test_wheel_cugraph-dgl.sh
52+
matrix_filter: map(select(.ARCH == "amd64"))
53+
wheel-tests-cugraph-pyg:
54+
secrets: inherit
55+
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
56+
with:
57+
build_type: nightly
58+
branch: ${{ inputs.branch }}
59+
date: ${{ inputs.date }}
60+
sha: ${{ inputs.sha }}
61+
script: ci/test_wheel_cugraph-pyg.sh
62+
matrix_filter: map(select(.ARCH == "amd64"))

.gitignore

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ __pycache__
1515
DartConfiguration.tcl
1616
.DS_Store
1717
rmm_log.txt
18+
.ruff_cache
1819

1920
# Unit test / coverage reports
2021
htmlcov/
@@ -35,15 +36,11 @@ htmlcov
3536
dist/
3637
*.egg-info/
3738
python/build
38-
python/cugraph/bindings/*.cpp
3939
wheels/
4040
wheelhouse/
4141
_skbuild/
4242
cufile.log
4343

44-
## pylibcugraph build directories & artifacts
45-
python/pylibcugraph/pylibcugraph.egg-info
46-
4744
## Patching
4845
*.diff
4946
*.orig
@@ -71,13 +68,7 @@ cpp/thirdparty/googletest/
7168

7269
## Datasets
7370
datasets/
74-
!datasets/cyber.csv
75-
!datasets/get_test_data.sh
7671
!datasets/karate.csv
77-
!datasets/karate-data.csv
78-
!datasets/karate_undirected.csv
79-
!datasets/karate-disjoint.csv
80-
!datasets/netscience.csv
8172

8273
.pydevproject
8374

@@ -86,17 +77,8 @@ datasets/
8677

8778
## Doxygen and Docs
8879
cpp/doxygen/html
89-
docs/cugraph/lib*
90-
docs/cugraph/api/*
91-
92-
# created by Dask tests
93-
python/dask-worker-space
94-
python/cugraph/dask-worker-space
95-
python/cugraph/cugraph/dask-worker-space
96-
python/cugraph/cugraph/tests/dask-worker-space
9780

9881
# Sphinx docs & build artifacts
99-
docs/cugraph/source/api_docs/api/*
10082
_html
10183
_text
10284

print_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# Copyright (c) 2019-2024, NVIDIA CORPORATION.
33
# Reports relevant environment information useful for diagnosing and
4-
# debugging cuGraph issues.
4+
# debugging issues.
55
# Usage:
66
# "./print_env.sh" - prints to stdout
77
# "./print_env.sh > env.txt" - prints to file "env.txt"

rapids_config.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ else()
2525
"Could not determine RAPIDS version. Contents of VERSION file:\n${_rapids_version_formatted}")
2626
endif()
2727

28-
if(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/CUGRAPH_RAPIDS-${RAPIDS_VERSION_MAJOR_MINOR}.cmake")
28+
if(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/CUGRAPH_GNN_RAPIDS-${RAPIDS_VERSION_MAJOR_MINOR}.cmake")
2929
file(
3030
DOWNLOAD
3131
"https://raw.githubusercontent.com/rapidsai/rapids-cmake/branch-${RAPIDS_VERSION_MAJOR_MINOR}/RAPIDS.cmake"
32-
"${CMAKE_CURRENT_BINARY_DIR}/CUGRAPH_RAPIDS-${RAPIDS_VERSION_MAJOR_MINOR}.cmake")
32+
"${CMAKE_CURRENT_BINARY_DIR}/CUGRAPH_GNN_RAPIDS-${RAPIDS_VERSION_MAJOR_MINOR}.cmake")
3333
endif()
34-
include("${CMAKE_CURRENT_BINARY_DIR}/CUGRAPH_RAPIDS-${RAPIDS_VERSION_MAJOR_MINOR}.cmake")
34+
include("${CMAKE_CURRENT_BINARY_DIR}/CUGRAPH_GNN_RAPIDS-${RAPIDS_VERSION_MAJOR_MINOR}.cmake")

0 commit comments

Comments
 (0)