@@ -481,37 +481,38 @@ jobs:
481481 build-tool : buck2
482482 docker-image : executorch-ubuntu-22.04-clang12
483483
484- unittest-arm :
484+ unittest-arm-backend-with-no-fvp :
485+ name : unittest-arm-backend-with-no-fvp
485486 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
486487 permissions :
487488 id-token : write
488489 contents : read
490+ strategy :
491+ matrix :
492+ include :
493+ - test_arm_baremetal : test_pytest_ops
494+ - test_arm_baremetal : test_pytest_models
495+ fail-fast : false
489496 with :
490497 runner : linux.2xlarge
491498 docker-image : executorch-ubuntu-22.04-arm-sdk
492499 submodules : ' recursive'
493500 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
494501 timeout : 90
495502 script : |
496- set -eux
497-
498503 # The generic Linux job chooses to use base env, not the one setup by the image
499504 CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
500505 conda activate "${CONDA_ENV}"
501506
502- BUILD_TOOL="cmake"
503-
504- # Setup MacOS dependencies as there is no Docker support on MacOS atm
505- PYTHON_EXECUTABLE=python \
506- CMAKE_ARGS="-DEXECUTORCH_BUILD_PYBIND=ON" \
507- EXECUTORCH_BUILD_ARM_BAREMETAL=ON \
508- .ci/scripts/setup-linux.sh --build-tool "${BUILD_TOOL}"
507+ source .ci/scripts/utils.sh
508+ install_executorch "--use-pt-pinned-commit"
509509
510- # Install Arm dependencies
511510 .ci/scripts/setup-arm-baremetal-tools.sh
512511
513- # Run pytest without simulator
514- backends/arm/test/test_arm_baremetal.sh test_pytest
512+ ARM_TEST=${{ matrix.test_arm_baremetal }}
513+
514+ # Test test_arm_baremetal.sh with test
515+ backends/arm/test/test_arm_baremetal.sh "${ARM_TEST}"
515516
516517 test-llama-runner-qnn-linux :
517518 name : test-llama-runner-qnn-linux
0 commit comments