@@ -176,12 +176,22 @@ jobs:
176176 # Test selective build
177177 PYTHON_EXECUTABLE=python bash examples/portable/scripts/test_demo_backend_delegation.sh "${BUILD_TOOL}"
178178
179- test-arm-backend-delegation :
180- name : test-arm-backend-delegation
179+ test-arm-backend :
180+ name : test-arm-backend
181181 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
182182 permissions :
183183 id-token : write
184184 contents : read
185+ strategy :
186+ matrix :
187+ include :
188+ - test_arm_baremetal : test_pytest_ops_ethosu_fvp
189+ - test_arm_baremetal : test_pytest_models_ethosu_fvp
190+ - test_arm_baremetal : test_run_ethosu_fvp
191+ - test_arm_baremetal : test_models_tosa
192+ - test_arm_baremetal : test_models_ethos-u55
193+ - test_arm_baremetal : test_models_ethos-u85
194+ fail-fast : false
185195 with :
186196 runner : linux.2xlarge.memory
187197 docker-image : executorch-ubuntu-22.04-arm-sdk
@@ -202,34 +212,10 @@ jobs:
202212 # Hopefully this is high enough for this setup.
203213 sudo sysctl fs.inotify.max_user_watches=1048576 # 1024 * 1024
204214
205- # Test ethos-u delegate examples with run.sh
206- backends/arm/test/test_arm_baremetal.sh test_full_ethosu_fvp
207-
208-
209- test-arm-reference-delegation :
210- name : test-arm-reference-delegation
211- uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
212- permissions :
213- id-token : write
214- contents : read
215- with :
216- runner : linux.2xlarge.memory
217- docker-image : executorch-ubuntu-22.04-arm-sdk
218- submodules : ' recursive'
219- ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
220- timeout : 90
221- script : |
222- # The generic Linux job chooses to use base env, not the one setup by the image
223- CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
224- conda activate "${CONDA_ENV}"
225-
226- source .ci/scripts/utils.sh
227- install_executorch "--use-pt-pinned-commit"
228-
229- .ci/scripts/setup-arm-baremetal-tools.sh
215+ ARM_TEST=${{ matrix.test_arm_baremetal }}
230216
231- # Run arm unit tests using the simulator
232- backends/arm/test/test_arm_baremetal.sh test_pytest_ethosu_fvp
217+ # Test test_arm_baremetal.sh with test
218+ backends/arm/test/test_arm_baremetal.sh "${ARM_TEST}"
233219
234220 test-arm-cortex-m-size-test :
235221 name : test-arm-cortex-m-size-test
0 commit comments