Skip to content

Add with_cuda flag to validate domain library workflow #1249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 21, 2022
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
13 changes: 9 additions & 4 deletions .github/workflows/validate-domain-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ on:
description: "Path to a smoke test script"
required: true
type: string
with_cuda:
description: "With cuda enable/disable"
required: false
type: string
default: disable

jobs:
generate-linux-matrix:
Expand All @@ -43,31 +48,31 @@ jobs:
package-type: ${{ inputs.package_type }}
os: linux
channel: ${{ inputs.channel }}
with-cuda: disable
with-cuda: ${{ inputs.with_cuda }}
generate-windows-matrix:
if: (inputs.os == 'windows' || inputs.os == 'all')
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with:
package-type: ${{ inputs.package_type }}
os: windows
channel: ${{ inputs.channel }}
with-cuda: disable
with-cuda: ${{ inputs.with_cuda }}
generate-macos-matrix:
if: (inputs.os == 'macos' || inputs.os == 'all')
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with:
package-type: ${{ inputs.package_type }}
os: macos
channel: ${{ inputs.channel }}
with-cuda: disable
with-cuda: ${{ inputs.with_cuda }}
generate-macos-arm64-matrix:
if: (inputs.os == 'macos-arm64' || inputs.os == 'all')
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
with:
package-type: ${{ inputs.package_type }}
os: macos-arm64
channel: ${{ inputs.channel }}
with-cuda: disable
with-cuda: ${{ inputs.with_cuda }}
validate-linux:
if: (inputs.os == 'linux' || inputs.os == 'all')
needs: generate-linux-matrix
Expand Down