Skip to content

Commit 54dd1f2

Browse files
authored
[Release only] Use Release 2.7 instead of main for CI jobs (#3890)
1 parent c670ad8 commit 54dd1f2

15 files changed

+39
-39
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ concurrency:
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.7
2323
with:
2424
package-type: conda
2525
os: macos-arm64
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.7
2828
build:
2929
needs: generate-matrix
3030
strategy:
@@ -36,13 +36,13 @@ jobs:
3636
smoke-test-script: test/smoke_test/smoke_test.py
3737
package-name: torchaudio
3838
name: ${{ matrix.repository }}
39-
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main
39+
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@release/2.7
4040
with:
4141
conda-package-directory: packaging/torchaudio
4242
repository: ${{ matrix.repository }}
4343
ref: ""
4444
test-infra-repository: pytorch/test-infra
45-
test-infra-ref: main
45+
test-infra-ref: release/2.7
4646
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4747
smoke-test-script: ${{ matrix.smoke-test-script }}
4848
runner-type: macos-m1-stable

.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.7
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.7
2424
build:
2525
needs: generate-matrix
2626
strategy:
@@ -32,13 +32,13 @@ jobs:
3232
conda-package-directory: packaging/torchaudio
3333
package-name: torchaudio
3434
name: ${{ matrix.repository }}
35-
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main
35+
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@release/2.7
3636
with:
3737
conda-package-directory: packaging/torchaudio
3838
repository: ${{ matrix.repository }}
3939
ref: ""
4040
test-infra-repository: pytorch/test-infra
41-
test-infra-ref: main
41+
test-infra-ref: release/2.7
4242
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4343
package-name: ${{ matrix.package-name }}
4444
smoke-test-script: ${{ matrix.smoke-test-script }}

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ permissions:
2323

2424
jobs:
2525
generate-matrix:
26-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
26+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.7
2727
with:
2828
package-type: wheel
2929
os: macos-arm64
3030
test-infra-repository: pytorch/test-infra
31-
test-infra-ref: main
31+
test-infra-ref: release/2.7
3232
build:
3333
needs: generate-matrix
3434
strategy:
@@ -39,12 +39,12 @@ jobs:
3939
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
4040
package-name: torchaudio
4141
name: ${{ matrix.repository }}
42-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
42+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.7
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.7
4848
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4949
smoke-test-script: ${{ matrix.smoke-test-script }}
5050
runner-type: macos-m1-stable

.github/workflows/build_conda_linux.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ concurrency:
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.7
2323
with:
2424
package-type: conda
2525
os: linux
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.7
2828
build:
2929
needs: generate-matrix
3030
strategy:
@@ -36,13 +36,13 @@ jobs:
3636
conda-package-directory: packaging/torchaudio
3737
package-name: torchaudio
3838
name: ${{ matrix.repository }}
39-
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main
39+
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@release/2.7
4040
with:
4141
conda-package-directory: packaging/torchaudio
4242
repository: ${{ matrix.repository }}
4343
ref: ""
4444
test-infra-repository: pytorch/test-infra
45-
test-infra-ref: main
45+
test-infra-ref: release/2.7
4646
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4747
package-name: ${{ matrix.package-name }}
4848
smoke-test-script: ${{ matrix.smoke-test-script }}

.github/workflows/build_docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
# Do not use matrix here to parameterize Python/CUDA versions.
2323
# This job is required to pass for each PR.
2424
# The name of the required job is sensitive to matrix parameter.
25-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
25+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
2626
permissions:
2727
id-token: write
2828
contents: read

.github/workflows/build_wheels_aarch64_linux.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ permissions:
2323

2424
jobs:
2525
generate-matrix:
26-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
26+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.7
2727
with:
2828
package-type: wheel
2929
os: linux-aarch64
3030
test-infra-repository: pytorch/test-infra
31-
test-infra-ref: main
31+
test-infra-ref: release/2.7
3232
with-cuda: disable
3333
build:
3434
needs: generate-matrix
@@ -40,12 +40,12 @@ jobs:
4040
smoke-test-script: test/smoke_test/smoke_test.py
4141
package-name: torchaudio
4242
name: ${{ matrix.repository }}
43-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
43+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.7
4444
with:
4545
repository: ${{ matrix.repository }}
4646
ref: ""
4747
test-infra-repository: pytorch/test-infra
48-
test-infra-ref: main
48+
test-infra-ref: release/2.7
4949
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5050
pre-script: ${{ matrix.pre-script }}
5151
post-script: ${{ matrix.post-script }}

.github/workflows/build_wheels_linux.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ permissions:
2323

2424
jobs:
2525
generate-matrix:
26-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
26+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.7
2727
with:
2828
package-type: wheel
2929
os: linux
3030
test-infra-repository: pytorch/test-infra
31-
test-infra-ref: main
31+
test-infra-ref: release/2.7
3232
with-xpu: enable
3333
build:
3434
needs: generate-matrix
@@ -40,12 +40,12 @@ jobs:
4040
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
4141
package-name: torchaudio
4242
name: ${{ matrix.repository }}
43-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
43+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.7
4444
with:
4545
repository: ${{ matrix.repository }}
4646
ref: ""
4747
test-infra-repository: pytorch/test-infra
48-
test-infra-ref: main
48+
test-infra-ref: release/2.7
4949
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5050
smoke-test-script: ${{ matrix.smoke-test-script }}
5151
package-name: ${{ matrix.package-name }}

.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.7
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.7
2828
with-xpu: enable
2929
build:
3030
needs: generate-matrix
@@ -38,12 +38,12 @@ jobs:
3838
smoke-test-script: test/smoke_test/smoke_test_no_ffmpeg.py
3939
package-name: torchaudio
4040
name: ${{ matrix.repository }}
41-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
41+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.7
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.7
4747
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4848
env-script: ${{ matrix.env-script }}
4949
package-name: ${{ matrix.package-name }}

.github/workflows/ffmpeg.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
21-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
21+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
2222
permissions:
2323
id-token: write
2424
contents: read
@@ -42,7 +42,7 @@ jobs:
4242
fail-fast: false
4343
matrix:
4444
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
45-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
45+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
4646
permissions:
4747
id-token: write
4848
contents: read
@@ -69,7 +69,7 @@ jobs:
6969
matrix:
7070
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
7171
runner: ["macos-m1-stable", "macos-12"]
72-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
72+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
7373
with:
7474
job-name: Build
7575
upload-artifact: ffmpeg-lgpl
@@ -91,7 +91,7 @@ jobs:
9191
fail-fast: false
9292
matrix:
9393
ffmpeg_version: ["4.4.4", "5.1.4", "6.1.1", "master"]
94-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
94+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.7
9595
with:
9696
job-name: Build
9797
upload-artifact: ffmpeg-lgpl

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ 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.7
1515
permissions:
1616
id-token: write
1717
contents: read

.github/workflows/unittest-linux-cpu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
python_version: ["3.8", "3.9", "3.10"]
1717
fail-fast: false
18-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
18+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
1919
permissions:
2020
id-token: write
2121
contents: read

.github/workflows/unittest-linux-gpu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
python_version: ["3.8", "3.9", "3.10"]
1717
cuda_arch_version: ["11.8"]
1818
fail-fast: false
19-
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
19+
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@release/2.7
2020
permissions:
2121
id-token: write
2222
contents: read

.github/workflows/unittest-macos-cpu.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414

1515
jobs:
1616
tests:
17-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
17+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.7
1818
with:
1919
runner: macos-12
2020
repository: pytorch/audio

.github/workflows/unittest-windows-cpu.yml

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

1212
jobs:
1313
unittests-windows-cpu:
14-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
14+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.7
1515
with:
1616
repository: pytorch/audio
1717
runner: windows.4xlarge

.github/workflows/unittest-windows-gpu.yml

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

1212
jobs:
1313
unittests-windows-gpu:
14-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
14+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.7
1515
with:
1616
repository: pytorch/audio
1717
runner: windows.g5.4xlarge.nvidia.gpu

0 commit comments

Comments
 (0)