Skip to content

Commit 3976dd4

Browse files
committed
Only LFS pull when needed
1 parent a8c4142 commit 3976dd4

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

scripts/install_linux.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ if [[ "$FEATURE_LOADTESTS" =~ "Vulkan" ]]; then
9191
fi
9292
fi
9393

94-
git lfs pull --include=tests/srcimages,tests/testimages
94+
if [[ "$FEATURE_TESTS" = "ON" ]]; then
95+
git lfs pull --include=tests/srcimages,tests/testimages
96+
fi
9597

9698
# vim:ai:ts=4:sts=2:sw=2:expandtab

scripts/install_macos.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ git lfs install
2020
git lfs version
2121
gem install xcpretty
2222

23-
git lfs pull --include=tests/srcimages,tests/testimages
23+
if [[ "$FEATURE_TESTS" = "ON" ]]; then
24+
git lfs pull --include=tests/srcimages,tests/testimages
25+
fi
2426

2527
if [[ -n "$FEATURE_LOADTESTS" && "$FEATURE_LOADTESTS" != "OFF" ]]; then
2628
if [ "$PLATFORM" = "iOS" ]; then

0 commit comments

Comments
 (0)