File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -940,3 +940,42 @@ jobs:
940940 build-mode : Release
941941 build-tool : cmake
942942 docker-image : ci-image:executorch-ubuntu-22.04-clang12
943+
944+ test-mcu-models :
945+ name : test-mcu-models
946+ uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
947+ strategy :
948+ matrix :
949+ include :
950+ - build-tool : cmake
951+ fail-fast : false
952+ permissions :
953+ id-token : write
954+ contents : read
955+ with :
956+ runner : linux.2xlarge
957+ docker-image : ci-image:executorch-ubuntu-22.04-arm-sdk
958+ submodules : ' recursive'
959+ ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
960+ timeout : 90
961+ script : |
962+ BUILD_TOOL=${{ matrix.build-tool }}
963+
964+ # The generic Linux job chooses to use base env, not the one setup by the image
965+ CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
966+ conda activate "${CONDA_ENV}"
967+
968+ # Try to mirror these as closely as possible
969+ source .ci/scripts/utils.sh
970+ install_executorch "--use-pt-pinned-commit"
971+
972+ .ci/scripts/setup-arm-baremetal-tools.sh
973+ source examples/arm/ethos-u-scratch/setup_path.sh
974+
975+ # Run selective Build
976+ chmod +x examples/selective_build/test_selective_build.sh
977+ examples/selective_build/test_selective_build.sh "${BUILD_TOOL}"
978+
979+ # Run MCU models
980+ chmod +x examples/arm/run_mcu_models_fvp.sh
981+ examples/arm/run_mcu_models_fvp.sh
You can’t perform that action at this time.
0 commit comments