Преглед изворни кода

CI builds release configuration

Marcin Krzyżanowski пре 7 година
родитељ
комит
7e2a748f4f
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      scripts/CI.sh

+ 2 - 2
scripts/CI.sh

@@ -23,7 +23,7 @@ if [ -d Packages ]; then
 fi
 fi
 
 
 # https://github.com/krzyzanowskim/CryptoSwift/issues/418
 # https://github.com/krzyzanowskim/CryptoSwift/issues/418
-swift build -Xswiftc -Xfrontend -Xswiftc -solver-memory-threshold -Xswiftc -Xfrontend -Xswiftc 999999999
+swift build -c release -Xswiftc -enable-testing -Xswiftc -Xfrontend -Xswiftc -solver-memory-threshold -Xswiftc -Xfrontend -Xswiftc 999999999
 sbexit=$?
 sbexit=$?
 
 
 echo "Swift build exited with code $sbexit"
 echo "Swift build exited with code $sbexit"
@@ -39,5 +39,5 @@ if [ -e "Tools/testprep.sh" ]; then
 fi
 fi
 
 
 if [ -d "Tests" ]; then
 if [ -d "Tests" ]; then
-	swift test -Xswiftc -DCI -Xswiftc -Xfrontend -Xswiftc -solver-memory-threshold -Xswiftc -Xfrontend -Xswiftc 999999999
+	swift test -c release -Xswiftc -enable-testing -Xswiftc -DCI -Xswiftc -Xfrontend -Xswiftc -solver-memory-threshold -Xswiftc -Xfrontend -Xswiftc 999999999
 fi
 fi