Skip to content

Commit c939c5b

Browse files
committed
Install Vulkan-SDK for MLSDK deps in CI
1 parent 10fac6e commit c939c5b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.ci/scripts/test_backend.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ if [[ "$FLOW" == *vulkan* ]]; then
5757
fi
5858

5959
if [[ "$FLOW" == *arm* ]]; then
60+
61+
if [[ "$FLOW" == *vgf* ]]; then
62+
# Setup Vulkan SDK which is required for VGF backend
63+
source .ci/scripts/setup-vulkan-linux-deps.sh
64+
fi
65+
6066
# Setup ARM deps.
6167
.ci/scripts/setup-arm-baremetal-tools.sh
6268
source examples/arm/ethos-u-scratch/setup_path.sh
@@ -66,6 +72,7 @@ if [[ "$FLOW" == *arm* ]]; then
6672
backends/arm/scripts/build_executorch.sh
6773
backends/arm/test/setup_testing.sh
6874
fi
75+
6976
if [[ "$FLOW" == *vgf* ]]; then
7077
# Prepare a test runner binary for VKML runtime
7178
backends/arm/test/setup_testing_vkml.sh

.github/workflows/trunk.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ jobs:
307307
source .ci/scripts/utils.sh
308308
install_executorch "--use-pt-pinned-commit"
309309
310+
# Install Vulkan-SDK for MLSDK deps
311+
source .ci/scripts/setup-vulkan-linux-deps.sh
312+
310313
.ci/scripts/setup-arm-baremetal-tools.sh --enable-mlsdk-deps --install-mlsdk-deps-with-pip
311314
312315
# Increase number of files user can monitor to bypass buck failures.

0 commit comments

Comments
 (0)