make conda installs in CI stricter #552
Workflow file for this run
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
name: pr | |
on: | |
push: | |
branches: | |
- "pull-request/[0-9]+" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
pr-builder: | |
needs: | |
- checks | |
- conda-python-build | |
- conda-python-tests | |
- docs-build | |
- wheel-build | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
checks: | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
conda-python-build: | |
needs: checks | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
build_type: pull-request | |
conda-python-tests: | |
needs: conda-python-build | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
build_type: pull-request | |
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: | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
build_type: pull-request | |
# Package is pure Python and only ever requires one build. | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | |
matrix_filter: map(select(.ARCH == "amd64")) | max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]) | [.] | |
script: "ci/build_wheel.sh" |