File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ functions:
3939 set -x
4040
4141 . .evergreen/use-node.sh
42+ if [ "$OS" == "Windows_NT" ]; then
43+ BASE_PYTHON="/cygdrive/c/python/Python311"
44+ export PATH="$BASE_PYTHON/Scripts:$BASE_PYTHON:$PATH"
45+ fi
4246 npm run build
4347 npm run lint
4448 test :
@@ -85,7 +89,8 @@ functions:
8589 # able to compile OpenSSL with assembly support,
8690 # so we revert back to the slower version.
8791 if [ "$OS" == "Windows_NT" ]; then
88- export PATH="/cygdrive/c/python/Python310/Scripts:/cygdrive/c/python/Python310:/cygdrive/c/Python310/Scripts:/cygdrive/c/Python310:$PATH"
92+ BASE_PYTHON="/cygdrive/c/python/Python311"
93+ export PATH="$BASE_PYTHON/Scripts:$BASE_PYTHON:$PATH"
8994 export BOXEDNODE_CONFIGURE_ARGS='openssl-no-asm'
9095 elif uname -a | grep -q 'Darwin.*x86_64'; then
9196 export BOXEDNODE_CONFIGURE_ARGS='--openssl-no-asm'
You can’t perform that action at this time.
0 commit comments