Skip to content

Commit d27c3a4

Browse files
authored
update github workflows for release 0.3 (#3994)
1 parent 26d0c0a commit d27c3a4

File tree

13 files changed

+45
-45
lines changed

13 files changed

+45
-45
lines changed

.ci/docker/ci_commit_pins/pytorch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
48b6c8dbc376db4406a979b35cd6909bcb428931
1+
release/2.4

.github/workflows/_unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
linux:
17-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
17+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.4
1818
with:
1919
runner: linux.2xlarge
2020
docker-image: ${{ inputs.docker-image }}
@@ -44,7 +44,7 @@ jobs:
4444
test/run_oss_cpp_tests.sh
4545
4646
macos:
47-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
47+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.4
4848
with:
4949
runner: macos-m1-stable
5050
python-version: '3.11'

.github/workflows/android.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrency:
2424
jobs:
2525
test-demo-android:
2626
name: test-demo-android
27-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
27+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.4
2828
strategy:
2929
matrix:
3030
include:
@@ -103,7 +103,7 @@ jobs:
103103
permissions:
104104
id-token: write
105105
contents: read
106-
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@main
106+
uses: pytorch/test-infra/.github/workflows/mobile_job.yml@release/2.4
107107
with:
108108
device-type: android
109109
runner: ubuntu-latest

.github/workflows/apple.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626
jobs:
2727
test-demo-ios:
2828
name: test-demo-ios
29-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
29+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.4
3030
with:
3131
runner: macos-latest-xlarge
3232
python-version: '3.11'
@@ -48,7 +48,7 @@ jobs:
4848
4949
build-frameworks-ios:
5050
name: build-frameworks-ios
51-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
51+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.4
5252
with:
5353
runner: macos-latest-xlarge
5454
python-version: '3.11'

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ on:
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.4
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.4
2828
with-cuda: disabled
2929
with-rocm: disabled
3030

@@ -43,12 +43,12 @@ jobs:
4343
smoke-test-script: build/packaging/smoke_test.py
4444
package-name: executorch
4545
name: ${{ matrix.repository }}
46-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
46+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.4
4747
with:
4848
repository: ${{ matrix.repository }}
4949
ref: ""
5050
test-infra-repository: pytorch/test-infra
51-
test-infra-ref: main
51+
test-infra-ref: release/2.4
5252
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5353
# ExecuTorch only needs the first layer of submodules; override the
5454
# "recursive" default to do less work, and to give the buck daemon fewer

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ on:
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.4
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.4
2828
with-cuda: disabled
2929
with-rocm: disabled
3030

@@ -43,12 +43,12 @@ jobs:
4343
smoke-test-script: build/packaging/smoke_test.py
4444
package-name: executorch
4545
name: ${{ matrix.repository }}
46-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
46+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.4
4747
with:
4848
repository: ${{ matrix.repository }}
4949
ref: ""
5050
test-infra-repository: pytorch/test-infra
51-
test-infra-ref: main
51+
test-infra-ref: release/2.4
5252
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
5353
# ExecuTorch only needs the first layer of submodules; override the
5454
# "recursive" default to do less work, and to give the buck daemon fewer

.github/workflows/doc-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
build:
18-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
18+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.4
1919
strategy:
2020
matrix:
2121
include:
@@ -82,7 +82,7 @@ jobs:
8282
if: github.repository == 'pytorch/executorch' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
8383
permissions:
8484
contents: write
85-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
85+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.4
8686
with:
8787
repository: pytorch/executorch
8888
download-artifact: docs

.github/workflows/docker-builds.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,25 +50,25 @@ jobs:
5050
mkdir "${GITHUB_WORKSPACE}"
5151
5252
- name: Setup SSH (Click me for login details)
53-
uses: pytorch/test-infra/.github/actions/setup-ssh@main
53+
uses: pytorch/test-infra/.github/actions/setup-ssh@release/2.4
5454
with:
5555
github-secret: ${{ secrets.GITHUB_TOKEN }}
5656

5757
- name: Checkout Executorch
5858
uses: actions/checkout@v3
5959

6060
- name: Setup Linux
61-
uses: pytorch/test-infra/.github/actions/setup-linux@main
61+
uses: pytorch/test-infra/.github/actions/setup-linux@release/2.4
6262

6363
- name: Build docker image
6464
id: build-docker-image
65-
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main
65+
uses: pytorch/test-infra/.github/actions/calculate-docker-image@release/2.4
6666
with:
6767
docker-image-name: ${{ matrix.docker-image-name }}
6868
always-rebuild: true
6969
push: true
7070
force-push: true
7171

7272
- name: Teardown Linux
73-
uses: pytorch/test-infra/.github/actions/teardown-linux@main
73+
uses: pytorch/test-infra/.github/actions/teardown-linux@release/2.4
7474
if: always()

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717
jobs:
1818
lintrunner:
19-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
19+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.4
2020
with:
2121
runner: linux.2xlarge
2222
docker-image: executorch-ubuntu-22.04-linter

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
environment: ${{ (github.event_name == 'schedule') && 'update-commit-hash' || '' }}
2222
steps:
2323
- name: update-pytorch-commit-hash
24-
uses: pytorch/test-infra/.github/actions/update-commit-hash@main
24+
uses: pytorch/test-infra/.github/actions/update-commit-hash@release/2.4
2525
if: ${{ github.event_name == 'schedule' }}
2626
with:
2727
repo-name: pytorch
2828
branch: main
2929
pin-folder: .ci/docker/ci_commit_pins
30-
test-infra-ref: main
30+
test-infra-ref: release/2.4
3131
updatebot-token: ${{ secrets.UPDATEBOT_TOKEN }}
3232
pytorchbot-token: ${{ secrets.GH_PYTORCHBOT_TOKEN }}

0 commit comments

Comments
 (0)