Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 64 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,48 @@ jobs:
cuda_build_ver=$(jq -r .cuda.build.version ci/versions.json)
echo "cuda_build_ver=$cuda_build_ver" >> $GITHUB_OUTPUT

build:
# WARNING: make sure all of the build jobs are in sync
build-linux-64:
Comment thread
cpcloud marked this conversation as resolved.
needs:
- ci-vars
strategy:
fail-fast: false
matrix:
host-platform:
- linux-64
name: Build ${{ matrix.host-platform }}, CUDA ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
if: ${{ github.repository_owner == 'nvidia' }}
secrets: inherit
uses: ./.github/workflows/build-wheel.yml
with:
host-platform: ${{ matrix.host-platform }}
cuda-version: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

# WARNING: make sure all of the build jobs are in sync
build-linux-aarch64:
Comment thread
cpcloud marked this conversation as resolved.
needs:
- ci-vars
strategy:
fail-fast: false
matrix:
host-platform:
- linux-aarch64
name: Build ${{ matrix.host-platform }}, CUDA ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
if: ${{ github.repository_owner == 'nvidia' }}
secrets: inherit
uses: ./.github/workflows/build-wheel.yml
with:
host-platform: ${{ matrix.host-platform }}
cuda-version: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

# WARNING: make sure all of the build jobs are in sync
build-windows:
Comment thread
cpcloud marked this conversation as resolved.
needs:
- ci-vars
strategy:
fail-fast: false
matrix:
host-platform:
- win-64
name: Build ${{ matrix.host-platform }}, CUDA ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}
if: ${{ github.repository_owner == 'nvidia' }}
Expand All @@ -50,20 +83,41 @@ jobs:
host-platform: ${{ matrix.host-platform }}
cuda-version: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

test-linux:
# WARNING: make sure both Linux test jobs are in sync
test-linux-64:
Comment thread
cpcloud marked this conversation as resolved.
strategy:
fail-fast: false
matrix:
host-platform:
- linux-64
name: Test ${{ matrix.host-platform }}
if: ${{ github.repository_owner == 'nvidia' }}
permissions:
contents: read # This is required for actions/checkout
needs:
- ci-vars
- build-linux-64
secrets: inherit
uses: ./.github/workflows/test-wheel-linux.yml
with:
build-type: pull-request
host-platform: ${{ matrix.host-platform }}
build-ctk-ver: ${{ needs.ci-vars.outputs.CUDA_BUILD_VER }}

# WARNING: make sure both Linux test jobs are in sync
test-linux-aarch64:
Comment thread
cpcloud marked this conversation as resolved.
strategy:
fail-fast: false
matrix:
host-platform:
- linux-aarch64
name: Test ${{ matrix.host-platform }}
if: ${{ github.repository_owner == 'nvidia' }}
permissions:
contents: read # This is required for actions/checkout
needs:
- ci-vars
- build
- build-linux-aarch64
secrets: inherit
uses: ./.github/workflows/test-wheel-linux.yml
with:
Expand All @@ -83,7 +137,7 @@ jobs:
contents: read # This is required for actions/checkout
needs:
- ci-vars
- build
- build-windows
secrets: inherit
uses: ./.github/workflows/test-wheel-windows.yml
with:
Expand All @@ -101,7 +155,7 @@ jobs:
pull-requests: write
needs:
- ci-vars
- build
- build-linux-64
secrets: inherit
uses: ./.github/workflows/build-docs.yml
with:
Expand All @@ -112,8 +166,11 @@ jobs:
permissions:
checks: read
needs:
- build
- test-linux
- build-linux-64
- test-linux-64
- build-linux-aarch64
- test-linux-aarch64
- build-windows
- test-windows
- doc
secrets: inherit
Expand Down
Loading