Update build_wheels_windows.yml to accept build-command input #1021
Workflow file for this run
This file contains hidden or 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: Test Build Windows Wheels without CUDA | ||
| on: | ||
| pull_request: | ||
| paths: | ||
| - .github/actions/setup-binary-builds/action.yml | ||
| - .github/workflows/test_build_wheels_windows_without_cuda.yml | ||
| - .github/workflows/build_wheels_windows.yml | ||
| - .github/workflows/generate_binary_build_matrix.yml | ||
| - tools/scripts/generate_binary_build_matrix.py | ||
| workflow_dispatch: | ||
| permissions: | ||
| id-token: write | ||
| contents: read | ||
| jobs: | ||
| generate-matrix: | ||
| uses: ./.github/workflows/generate_binary_build_matrix.yml | ||
| with: | ||
| package-type: wheel | ||
| os: windows | ||
| test-infra-repository: ${{ github.repository }} | ||
| test-infra-ref: ${{ github.ref }} | ||
| with-cuda: disable | ||
| test: | ||
| needs: generate-matrix | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - repository: pytorch/audio | ||
| env-script: packaging/vc_env_helper.bat | ||
| wheel-build-params: "--plat-name win_amd64" | ||
| smoke-test-script: test/smoke_test/smoke_test.py | ||
| package-name: torchaudio | ||
| uses: ./.github/workflows/build_wheels_windows.yml | ||
|
Check failure on line 37 in .github/workflows/test_build_wheels_windows_without_cuda.yml
|
||
| name: ${{ matrix.repository }} | ||
| with: | ||
| repository: ${{ matrix.repository }} | ||
| ref: nightly | ||
| test-infra-repository: ${{ github.repository }} | ||
| test-infra-ref: ${{ github.ref }} | ||
| build-matrix: ${{ needs.generate-matrix.outputs.matrix }} | ||
| env-script: ${{ matrix.env-script }} | ||
| smoke-test-script: ${{ matrix.smoke-test-script }} | ||
| package-name: ${{ matrix.package-name }} | ||
| trigger-event: "${{ github.event_name }}" | ||