Skip to content

Commit

Permalink
Add aarch64 to validation framework (#1489)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Aug 23, 2023
1 parent 331b031 commit 3f1e42f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/scripts/validate_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ else

if [[ ${TARGET_OS} == 'windows' ]]; then
python ./test/smoke_test/smoke_test.py
elif [[ ${TARGET_OS} == 'aarch64-linux' ]]; then
elif [[ ${TARGET_OS} == 'linux-aarch64' ]]; then
python3 ./test/smoke_test/smoke_test.py --package=torchonly
else
python3 ./test/smoke_test/smoke_test.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-aarch64-linux-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
script: |
set -ex
export ENV_NAME="conda-env-${{ github.run_id }}"
export TARGET_OS="aarch64-linux"
export TARGET_OS="linux-aarch64"
eval "$(conda shell.bash hook)"
# Standart case: Validate binaries
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/validate-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ on:
options:
- windows
- linux
- linux-aarch64
- macos
- all
channel:
Expand Down Expand Up @@ -65,6 +66,13 @@ jobs:
channel: ${{ inputs.channel }}
ref: ${{ inputs.ref || github.ref }}

linux:
if: inputs.os == 'linux-aarch64'
uses: ./.github/workflows/validate-aarch64-linux-binaries.yml
with:
channel: ${{ inputs.channel }}
ref: ${{ inputs.ref || github.ref }}

mac:
if: inputs.os == 'macos' || inputs.os == 'all'
uses: ./.github/workflows/validate-macos-binaries.yml
Expand Down

0 comments on commit 3f1e42f

Please sign in to comment.