File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,12 @@ CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
19
19
conda activate " ${CONDA_ENV} "
20
20
21
21
# Setup swiftshader and Vulkan SDK which are required to build the Vulkan delegate
22
- # source .ci/scripts/setup-vulkan-linux-deps.sh
22
+ source .ci/scripts/setup-vulkan-linux-deps.sh
23
+
24
+ # CMake options to use, in addition to the defaults.
25
+ EXTRA_BUILD_ARGS=" -DEXECUTORCH_BUILD_VULKAN=ON"
23
26
24
27
# We need the runner to test the built library.
25
- PYTHON_EXECUTABLE=python .ci/scripts/setup-linux.sh --build-tool cmake --build-mode Release
28
+ PYTHON_EXECUTABLE=python CMAKE_ARGS= " $EXTRA_BUILD_ARGS " .ci/scripts/setup-linux.sh --build-tool cmake --build-mode Release
26
29
27
30
python -m executorch.backends.test.suite.runner $SUITE --flow $FLOW --report " $ARTIFACT_DIR /test_results.csv"
Original file line number Diff line number Diff line change 42
42
strategy :
43
43
fail-fast : false
44
44
matrix :
45
- flow : [xnnpack, xnnpack_static_int8_per_channel]
45
+ flow : [vulkan, xnnpack, xnnpack_static_int8_per_channel]
46
46
suite : [models, operators]
47
47
with :
48
48
ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
You can’t perform that action at this time.
0 commit comments