File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -412,11 +412,10 @@ axes:
412412 display_name : " Swift 5.0"
413413 variables :
414414 SWIFT_VERSION : " 5.0.3"
415- # TODO SWIFT-634: uncomment this
416- # - id: "5.1"
417- # display_name: "Swift 5.1"
418- # variables:
419- # SWIFT_VERSION: "5.1"
415+ - id : " 5.1"
416+ display_name : " Swift 5.1"
417+ variables :
418+ SWIFT_VERSION : " 5.1.3"
420419
421420 - id : ssl
422421 display_name : SSL
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set -o errexit # Exit the script with error if any of the commands fail
44
55# variables
66PROJECT_DIRECTORY=${PROJECT_DIRECTORY:- $PWD }
7- SWIFT_VERSION=${SWIFT_VERSION:- 4.2.4 }
7+ SWIFT_VERSION=${SWIFT_VERSION:- 5.0.3 }
88INSTALL_DIR=" ${PROJECT_DIRECTORY} /opt"
99BUILD_DIR=" ${PROJECT_DIRECTORY} /libmongoc-build"
1010EVG_DIR=$( dirname $0 )
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ set -o errexit # Exit the script with error if any of the commands fail
33
44# variables
55PROJECT_DIRECTORY=${PROJECT_DIRECTORY:- $PWD }
6- SWIFT_VERSION=${SWIFT_VERSION:- 5.0}
6+ SWIFT_VERSION=${SWIFT_VERSION:- 5.0.3 }
77INSTALL_DIR=" ${PROJECT_DIRECTORY} /opt"
88OS=$( uname -s | tr ' [:upper:]' ' [:lower:]' )
99EXTRA_FLAGS=" -Xlinker -rpath -Xlinker ${INSTALL_DIR} /lib"
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ set -o errexit # Exit the script with error if any of the commands fail
55# variables
66PROJECT_DIRECTORY=${PROJECT_DIRECTORY:- $PWD }
77MONGODB_URI=${MONGODB_URI:- " NO_URI_PROVIDED" }
8- SWIFT_VERSION=${SWIFT_VERSION:- 5.0}
8+ SWIFT_VERSION=${SWIFT_VERSION:- 5.0.3 }
99INSTALL_DIR=" ${PROJECT_DIRECTORY} /opt"
1010TOPOLOGY=${TOPOLOGY:- single}
1111OS=$( uname -s | tr ' [:upper:]' ' [:lower:]' )
@@ -23,6 +23,11 @@ export SWIFTENV_ROOT="${INSTALL_DIR}/swiftenv"
2323export PATH=" ${SWIFTENV_ROOT} /bin:$PATH "
2424eval " $( swiftenv init -) "
2525
26+ # select the latest Xcode for Swift 5.1 support on MacOS
27+ if [ " $OS " == " darwin" ]; then
28+ sudo xcode-select -s /Applications/Xcode11.3.app
29+ fi
30+
2631# switch swift version, and run tests
2732swiftenv local $SWIFT_VERSION
2833
You can’t perform that action at this time.
0 commit comments