Skip to content

Commit b411ffc

Browse files
authored
[0.21 release] Use release/2.6 branch of test-infra (#8795)
1 parent 8217401 commit b411ffc

11 files changed

+55
-55
lines changed

.github/workflows/build-cmake.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
gpu-arch-type: cuda
2121
gpu-arch-version: "11.8"
2222
fail-fast: false
23-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
23+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
2424
with:
2525
repository: pytorch/vision
2626
runner: ${{ matrix.runner }}
2727
gpu-arch-type: ${{ matrix.gpu-arch-type }}
2828
gpu-arch-version: ${{ matrix.gpu-arch-version }}
29-
test-infra-ref: main
29+
test-infra-ref: release/2.6
3030
script: |
3131
set -euo pipefail
3232
@@ -41,11 +41,11 @@ jobs:
4141
include:
4242
- runner: macos-m1-stable
4343
fail-fast: false
44-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
44+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.6
4545
with:
4646
repository: pytorch/vision
4747
runner: ${{ matrix.runner }}
48-
test-infra-ref: main
48+
test-infra-ref: release/2.6
4949
script: |
5050
set -euo pipefail
5151
@@ -65,13 +65,13 @@ jobs:
6565
gpu-arch-type: cuda
6666
gpu-arch-version: "11.8"
6767
fail-fast: false
68-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
68+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.6
6969
with:
7070
repository: pytorch/vision
7171
runner: ${{ matrix.runner }}
7272
gpu-arch-type: ${{ matrix.gpu-arch-type }}
7373
gpu-arch-version: ${{ matrix.gpu-arch-version }}
74-
test-infra-ref: main
74+
test-infra-ref: release/2.6
7575
script: |
7676
set -euo pipefail
7777

.github/workflows/build-conda-linux.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6
1919
with:
2020
package-type: conda
2121
os: linux
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: main
23+
test-infra-ref: release/2.6
2424
build:
2525
needs: generate-matrix
2626
strategy:
@@ -34,13 +34,13 @@ jobs:
3434
smoke-test-script: test/smoke_test.py
3535
package-name: torchvision
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@release/2.6
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}
4141
ref: ""
4242
test-infra-repository: pytorch/test-infra
43-
test-infra-ref: main
43+
test-infra-ref: release/2.6
4444
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4545
pre-script: ${{ matrix.pre-script }}
4646
post-script: ${{ matrix.post-script }}

.github/workflows/build-conda-m1.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6
1919
with:
2020
package-type: conda
2121
os: macos-arm64
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: main
23+
test-infra-ref: release/2.6
2424
build:
2525
needs: generate-matrix
2626
strategy:
@@ -34,13 +34,13 @@ jobs:
3434
smoke-test-script: test/smoke_test.py
3535
package-name: torchvision
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@release/2.6
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}
4141
ref: ""
4242
test-infra-repository: pytorch/test-infra
43-
test-infra-ref: main
43+
test-infra-ref: release/2.6
4444
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4545
env-var-script: ./.github/scripts/export_IS_M1_CONDA_BUILD_JOB.sh
4646
pre-script: ${{ matrix.pre-script }}

.github/workflows/build-conda-windows.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6
1919
with:
2020
package-type: conda
2121
os: windows
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: main
23+
test-infra-ref: release/2.6
2424
build:
2525
needs: generate-matrix
2626
strategy:
@@ -35,13 +35,13 @@ jobs:
3535
smoke-test-script: test/smoke_test.py
3636
package-name: torchvision
3737
name: ${{ matrix.repository }}
38-
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main
38+
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@release/2.6
3939
with:
4040
conda-package-directory: ${{ matrix.conda-package-directory }}
4141
repository: ${{ matrix.repository }}
4242
ref: ""
4343
test-infra-repository: pytorch/test-infra
44-
test-infra-ref: main
44+
test-infra-ref: release/2.6
4545
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4646
pre-script: ${{ matrix.pre-script }}
4747
post-script: ${{ matrix.post-script }}

.github/workflows/build-wheels-aarch64-linux.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6
2323
with:
2424
package-type: wheel
2525
os: linux-aarch64
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.6
2828
with-cuda: disable
2929
build:
3030
needs: generate-matrix
@@ -38,12 +38,12 @@ jobs:
3838
smoke-test-script: test/smoke_test.py
3939
package-name: torchvision
4040
name: ${{ matrix.repository }}
41-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
41+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.6
4242
with:
4343
repository: ${{ matrix.repository }}
4444
ref: ""
4545
test-infra-repository: pytorch/test-infra
46-
test-infra-ref: main
46+
test-infra-ref: release/2.6
4747
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4848
pre-script: ${{ matrix.pre-script }}
4949
post-script: ${{ matrix.post-script }}

.github/workflows/build-wheels-linux.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6
2323
with:
2424
package-type: wheel
2525
os: linux
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.6
2828
with-xpu: enable
2929
build:
3030
needs: generate-matrix
@@ -38,12 +38,12 @@ jobs:
3838
smoke-test-script: test/smoke_test.py
3939
package-name: torchvision
4040
name: ${{ matrix.repository }}
41-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
41+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.6
4242
with:
4343
repository: ${{ matrix.repository }}
4444
ref: ""
4545
test-infra-repository: pytorch/test-infra
46-
test-infra-ref: main
46+
test-infra-ref: release/2.6
4747
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4848
pre-script: ${{ matrix.pre-script }}
4949
post-script: ${{ matrix.post-script }}

.github/workflows/build-wheels-m1.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6
2323
with:
2424
package-type: wheel
2525
os: macos-arm64
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.6
2828
build:
2929
needs: generate-matrix
3030
strategy:
@@ -37,12 +37,12 @@ jobs:
3737
smoke-test-script: test/smoke_test.py
3838
package-name: torchvision
3939
name: ${{ matrix.repository }}
40-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
40+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.6
4141
with:
4242
repository: ${{ matrix.repository }}
4343
ref: ""
4444
test-infra-repository: pytorch/test-infra
45-
test-infra-ref: main
45+
test-infra-ref: release/2.6
4646
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4747
pre-script: ${{ matrix.pre-script }}
4848
post-script: ${{ matrix.post-script }}

.github/workflows/build-wheels-windows.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.6
2323
with:
2424
package-type: wheel
2525
os: windows
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.6
2828
with-xpu: enable
2929
build:
3030
needs: generate-matrix
@@ -39,12 +39,12 @@ jobs:
3939
smoke-test-script: test/smoke_test.py
4040
package-name: torchvision
4141
name: ${{ matrix.repository }}
42-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
42+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.6
4343
with:
4444
repository: ${{ matrix.repository }}
4545
ref: ""
4646
test-infra-repository: pytorch/test-infra
47-
test-infra-ref: main
47+
test-infra-ref: release/2.6
4848
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4949
pre-script: ${{ matrix.pre-script }}
5050
env-script: ${{ matrix.env-script }}

.github/workflows/docs.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ on:
1414

1515
jobs:
1616
build:
17-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
17+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
1818
with:
1919
repository: pytorch/vision
2020
upload-artifact: docs
21-
test-infra-ref: main
21+
test-infra-ref: release/2.6
2222
script: |
2323
set -euo pipefail
2424
@@ -81,12 +81,12 @@ jobs:
8181
((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')
8282
permissions:
8383
contents: write
84-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
84+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
8585
with:
8686
repository: pytorch/vision
8787
download-artifact: docs
8888
ref: gh-pages
89-
test-infra-ref: main
89+
test-infra-ref: release/2.6
9090
script: |
9191
set -euo pipefail
9292

.github/workflows/lint.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ on:
1111

1212
jobs:
1313
python-source-and-configs:
14-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
14+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
1515
with:
1616
repository: pytorch/vision
17-
test-infra-ref: main
17+
test-infra-ref: release/2.6
1818
script: |
1919
set -euo pipefail
2020
@@ -38,10 +38,10 @@ jobs:
3838
fi
3939
4040
c-source:
41-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
41+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
4242
with:
4343
repository: pytorch/vision
44-
test-infra-ref: main
44+
test-infra-ref: release/2.6
4545
script: |
4646
set -euo pipefail
4747
@@ -65,10 +65,10 @@ jobs:
6565
6666
6767
python-types:
68-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
68+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.6
6969
with:
7070
repository: pytorch/vision
71-
test-infra-ref: main
71+
test-infra-ref: release/2.6
7272
script: |
7373
set -euo pipefail
7474
@@ -95,7 +95,7 @@ jobs:
9595
runs-on: ubuntu-latest
9696
steps:
9797
- name: Run BC Lint Action
98-
uses: pytorch/test-infra/.github/actions/bc-lint@main
98+
uses: pytorch/test-infra/.github/actions/bc-lint@release/2.6
9999
with:
100100
repo: ${{ github.event.pull_request.head.repo.full_name }}
101101
base_sha: ${{ github.event.pull_request.base.sha }}

0 commit comments

Comments
 (0)