@@ -302,36 +302,6 @@ jobs:
302302 exit 1
303303 fi
304304
305- nxp-build-test :
306- name : nxp-build-test
307- uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
308- permissions :
309- id-token : write
310- contents : read
311- with :
312- runner : linux.2xlarge
313- docker-image : executorch-ubuntu-22.04-arm-sdk
314- submodules : ' recursive'
315- ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
316- timeout : 90
317- script : |
318- # The generic Linux job chooses to use base env, not the one setup by the image
319- CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
320- conda activate "${CONDA_ENV}"
321-
322- # Build
323- cmake -DEXECUTORCH_BUILD_NXP_NEUTRON=ON -Bcmake-out .
324- cmake --build cmake-out --target executorch_delegate_neutron --config Release
325-
326- # Build check for the neutron backend library
327- lib_neutron="cmake-out/backends/nxp/libexecutorch_delegate_neutron.a"
328- if [ -f $lib_neutron ]; then
329- echo "Neutron backend library built."
330- else
331- echo "Neutron backend library not found!"
332- exit 1
333- fi
334-
335305 test-coreml-delegate :
336306 name : test-coreml-delegate
337307 uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
@@ -771,35 +741,3 @@ jobs:
771741 build-mode : Release
772742 build-tool : cmake
773743 docker-image : executorch-ubuntu-22.04-clang12
774-
775- unittest-nxp-neutron :
776- uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
777- permissions :
778- id-token : write
779- contents : read
780- with :
781- runner : linux.2xlarge
782- docker-image : executorch-ubuntu-22.04-clang12
783- submodules : ' recursive'
784- ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
785- timeout : 90
786- script : |
787- set -eux
788-
789- # The generic Linux job chooses to use base env, not the one setup by the image
790- CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
791- conda activate "${CONDA_ENV}"
792-
793- # Build and install Executorch
794- PYTHON_EXECUTABLE=python \
795- CMAKE_ARGS="-DEXECUTORCH_BUILD_NXP_NEUTRON=ON" \
796- .ci/scripts/setup-linux.sh --build-tool "cmake"
797-
798- # Install test requirements
799- pip install -r backends/nxp/requirements-tests.txt
800-
801- # Run pytest
802- PYTHON_EXECUTABLE=python bash backends/nxp/run_unittests.sh
803-
804- # Run aot example:
805- PYTHON_EXECUTABLE=python bash examples/nxp/run_aot_example.sh
0 commit comments