Skip to content

Commit e9ce825

Browse files
committed
ci: remove build-ctk-ver from doc builds
1 parent 0f2329b commit e9ce825

3 files changed

Lines changed: 1 addition & 25 deletions

File tree

.github/workflows/build-docs.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ name: "CI: Build and update docs"
77
on:
88
workflow_call:
99
inputs:
10-
build-ctk-ver:
11-
type: string
12-
required: true
1310
component:
1411
description: "Component(s) to build docs for"
1512
required: false
@@ -47,12 +44,6 @@ jobs:
4744
run:
4845
shell: bash -el {0}
4946
steps:
50-
- name: validate build-ctk
51-
run: |
52-
if [ ! "${{ inputs.build-ctk-ver }}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]; then
53-
echo "error: `build-ctk-ver` ${{ inputs.build-ctk-ver }} version does not match MAJOR.MINOR.MICRO" >&2
54-
exit 1
55-
fi
5647
- name: Checkout ${{ github.event.repository.name }}
5748
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5849
with:
@@ -77,13 +68,6 @@ jobs:
7768
conda config --show-sources
7869
conda config --show
7970
80-
# WAR: Building the doc currently requires CTK installed (NVIDIA/cuda-python#326,327)
81-
- name: Set up mini CTK
82-
uses: ./.github/actions/fetch_ctk
83-
with:
84-
host-platform: linux-64
85-
cuda-version: ${{ inputs.build-ctk-ver }}
86-
8771
- name: Set environment variables
8872
run: |
8973
PYTHON_VERSION_FORMATTED="312" # see above
@@ -103,7 +87,7 @@ jobs:
10387
echo "CUDA_CORE_ARTIFACT_BASENAME=${CUDA_CORE_ARTIFACT_BASENAME}" >> $GITHUB_ENV
10488
echo "CUDA_CORE_ARTIFACT_NAME=${CUDA_CORE_ARTIFACT_BASENAME}-${FILE_HASH}" >> $GITHUB_ENV
10589
echo "CUDA_CORE_ARTIFACTS_DIR=$(realpath "$REPO_DIR/cuda_core/dist")" >> $GITHUB_ENV
106-
CUDA_BINDINGS_ARTIFACT_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda${{ inputs.build-ctk-ver }}-linux-64"
90+
CUDA_BINDINGS_ARTIFACT_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda*-linux-64"
10791
echo "CUDA_BINDINGS_ARTIFACT_BASENAME=${CUDA_BINDINGS_ARTIFACT_BASENAME}" >> $GITHUB_ENV
10892
echo "CUDA_BINDINGS_ARTIFACT_NAME=${CUDA_BINDINGS_ARTIFACT_BASENAME}-${FILE_HASH}" >> $GITHUB_ENV
10993
echo "CUDA_BINDINGS_ARTIFACTS_DIR=$(realpath "$REPO_DIR/cuda_bindings/dist")" >> $GITHUB_ENV

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,6 @@ jobs:
199199
- build-linux-64
200200
secrets: inherit
201201
uses: ./.github/workflows/build-docs.yml
202-
with:
203-
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
204202

205203
checks:
206204
name: Check job status

.github/workflows/release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ on:
2828
required: false
2929
type: string
3030
default: ""
31-
build-ctk-ver:
32-
type: string
33-
required: true
3431
wheel-dst:
3532
description: "Which wheel index to publish to?"
3633
required: true
@@ -122,7 +119,6 @@ jobs:
122119
secrets: inherit
123120
uses: ./.github/workflows/build-docs.yml
124121
with:
125-
build-ctk-ver: ${{ inputs.build-ctk-ver }}
126122
component: ${{ inputs.component }}
127123
git-tag: ${{ inputs.git-tag }}
128124
run-id: ${{ needs.determine-run-id.outputs.run-id }}
@@ -135,7 +131,6 @@ jobs:
135131
needs:
136132
- check-tag
137133
- determine-run-id
138-
- doc
139134
secrets: inherit
140135
uses: ./.github/workflows/release-upload.yml
141136
with:
@@ -149,7 +144,6 @@ jobs:
149144
needs:
150145
- check-tag
151146
- determine-run-id
152-
- doc
153147
environment:
154148
name: ${{ inputs.wheel-dst }}
155149
url: https://${{ (inputs.wheel-dst == 'testpypi' && 'test.') || '' }}pypi.org/p/${{ inputs.component }}/

0 commit comments

Comments
 (0)