Skip to content

Commit 3f1e42f

Browse files
authored
Add aarch64 to validation framework (#1489)
1 parent 331b031 commit 3f1e42f

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/scripts/validate_binaries.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ else
2727

2828
if [[ ${TARGET_OS} == 'windows' ]]; then
2929
python ./test/smoke_test/smoke_test.py
30-
elif [[ ${TARGET_OS} == 'aarch64-linux' ]]; then
30+
elif [[ ${TARGET_OS} == 'linux-aarch64' ]]; then
3131
python3 ./test/smoke_test/smoke_test.py --package=torchonly
3232
else
3333
python3 ./test/smoke_test/smoke_test.py

.github/workflows/validate-aarch64-linux-binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
script: |
5555
set -ex
5656
export ENV_NAME="conda-env-${{ github.run_id }}"
57-
export TARGET_OS="aarch64-linux"
57+
export TARGET_OS="linux-aarch64"
5858
eval "$(conda shell.bash hook)"
5959
6060
# Standart case: Validate binaries

.github/workflows/validate-binaries.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ on:
3232
options:
3333
- windows
3434
- linux
35+
- linux-aarch64
3536
- macos
3637
- all
3738
channel:
@@ -65,6 +66,13 @@ jobs:
6566
channel: ${{ inputs.channel }}
6667
ref: ${{ inputs.ref || github.ref }}
6768

69+
linux:
70+
if: inputs.os == 'linux-aarch64'
71+
uses: ./.github/workflows/validate-aarch64-linux-binaries.yml
72+
with:
73+
channel: ${{ inputs.channel }}
74+
ref: ${{ inputs.ref || github.ref }}
75+
6876
mac:
6977
if: inputs.os == 'macos' || inputs.os == 'all'
7078
uses: ./.github/workflows/validate-macos-binaries.yml

0 commit comments

Comments
 (0)