File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ bats_require_minimum_version 1.5.0
55setup_file () {
66 # Installing the Windows SDK/CRT takes a long time.
77 # When still valid, use the installation from cache.
8+ WINDOWS_SDK_VERSION=10.0.26100
89
9- xwin --accept-license --cache-dir ${BATS_TEST_DIRNAME} /.xwin-hash list
10+ xwin --accept-license --sdk-version " ${WINDOWS_SDK_VERSION} " -- cache-dir ${BATS_TEST_DIRNAME} /.xwin-hash list
1011 HASH_LIST_MANIFEST=$( sha256sum ${BATS_TEST_DIRNAME} /.xwin-hash/dl/manifest* .json | awk ' { print $1 }' )
1112 HASH_CACHED_MANIFEST=
1213
@@ -15,7 +16,7 @@ setup_file() {
1516 fi
1617
1718 if [[ $HASH_LIST_MANIFEST != $HASH_CACHED_MANIFEST ]]; then
18- xwin --accept-license --cache-dir ${BATS_TEST_DIRNAME} /.xwin-cache splat --preserve-ms-arch-notation
19+ xwin --accept-license --sdk-version " ${WINDOWS_SDK_VERSION} " -- cache-dir ${BATS_TEST_DIRNAME} /.xwin-cache splat --preserve-ms-arch-notation
1920 fi
2021
2122 ln -sf ${BATS_TEST_DIRNAME} /.xwin-cache/splat/ /winsdk
You can’t perform that action at this time.
0 commit comments