Add binary r2 upload step to Windows and MacOS wheel workflows #1063
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 with CUDA | |
| on: | |
| pull_request: | |
| paths: | |
| - .github/actions/setup-binary-builds/action.yml | |
| - .github/workflows/test_build_wheels_windows_with_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-xpu: enable | |
| test: | |
| needs: generate-matrix | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - repository: pytorch/vision | |
| pre-script: packaging/pre_build_script.sh | |
| env-script: packaging/windows/internal/vc_env_helper.bat | |
| post-script: "python packaging/wheel/relocate.py" | |
| smoke-test-script: test/smoke_test.py | |
| package-name: torchvision | |
| cache-path: "" | |
| cache-key: "" | |
| uses: ./.github/workflows/build_wheels_windows.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 }} | |
| pre-script: ${{ matrix.pre-script }} | |
| env-script: ${{ matrix.env-script }} | |
| post-script: ${{ matrix.post-script }} | |
| smoke-test-script: ${{ matrix.smoke-test-script }} | |
| package-name: ${{ matrix.package-name }} | |
| trigger-event: "${{ github.event_name }}" | |
| cache-path: ${{ matrix.cache-path }} | |
| cache-key: ${{ matrix.cache-key }} |