Skip to content
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,8 @@ jobs:
exit 1
fi

test-arm-ootb-linux:
name: test-arm-ootb-linux
test-arm-backend-ootb-linux:
name: test-arm-backend-ootb-linux
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
permissions:
id-token: write
Expand Down Expand Up @@ -431,6 +431,34 @@ jobs:
# Run OOTB tests
backends/arm/test/test_arm_ootb.sh

test-arm-backend-ootb-macos:
name: test-arm-backend-ootb-macos
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
with:
runner: macos-m1-stable
python-version: '3.11'
submodules: 'recursive'
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
timeout: 90
script: |
set -eux
bash .ci/scripts/setup-conda.sh
eval "$(conda shell.bash hook)"

# Follow the steps required before running the notebooks
# Try to mirror these as closely as possible
${CONDA_RUN} source .ci/scripts/utils.sh
${CONDA_RUN} install_executorch "--use-pt-pinned-commit"

${CONDA_RUN} sh .ci/scripts/setup-arm-baremetal-tools.sh
${CONDA_RUN} source examples/arm/ethos-u-scratch/setup_path.sh

# Install requirements for converting notebooks
${CONDA_RUN} pip install notebook

# Run OOTB tests
${CONDA_RUN} sh backends/arm/test/test_arm_ootb.sh

test-coreml-delegate:
name: test-coreml-delegate
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
Expand Down
Loading