File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,17 @@ if [[ "$FLOW" == *qnn* ]]; then
4141fi
4242
4343if [[ " $FLOW " == * vulkan* ]]; then
44- # Setup swiftshader and Vulkan SDK which are required to build the Vulkan delegate
44+ # Setup swiftshader and Vulkan SDK which are required to build the Vulkan delegate.
4545 source .ci/scripts/setup-vulkan-linux-deps.sh
4646
4747 EXTRA_BUILD_ARGS+=" -DEXECUTORCH_BUILD_VULKAN=ON"
4848fi
4949
50+ if [[ " $FLOW " == * tosa* ]]; then
51+ # Setup ARM deps.
52+ .ci/scripts/setup-arm-baremetal-tools.sh
53+ fi
54+
5055# We need the runner to test the built library.
5156PYTHON_EXECUTABLE=python CMAKE_ARGS=" $EXTRA_BUILD_ARGS " .ci/scripts/setup-linux.sh --build-tool cmake --build-mode Release --editable true
5257
Original file line number Diff line number Diff line change 1+ name : Test XNNPACK Backend
2+
3+ on :
4+ schedule :
5+ - cron : 0 2 * * *
6+ push :
7+ tags :
8+ - ciflow/nightly/*
9+ pull_request :
10+ paths :
11+ - .github/workflows/test-backend-ethos.yml
12+ - .github/workflows/_test_backend.yml
13+ workflow_dispatch :
14+
15+ concurrency :
16+ group : ${{ github.workflow }}--${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
17+ cancel-in-progress : true
18+
19+ jobs :
20+ test-xnnpack :
21+ uses : ./.github/workflows/_test_backend.yml
22+ with :
23+ backend : xnnpack
24+ flows : ' ["tosa"]'
25+ ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
26+ timeout : 120
27+ run-linux : true
You can’t perform that action at this time.
0 commit comments