Temporarily eemove stale Travis build script

Revert and refine later.
This commit is contained in:
Davide De Rosa 2017-10-18 09:24:36 +02:00
parent 0caa892178
commit 227fdb7d77
2 changed files with 0 additions and 48 deletions

View File

@ -1,8 +0,0 @@
osx_image: xcode8.3
language: objective-c
before_install:
- ./travis-build.sh
script:
- xcodebuild -project OpenSSL-for-iOS.xcodeproj -scheme OpenSSL-for-iOS -sdk iphonesimulator clean build
- cd targets && xcodebuild -project OpenSSL-for-iOS.xcodeproj -scheme OpenSSL-for-iOS -sdk iphonesimulator clean build

View File

@ -1,40 +0,0 @@
#!/bin/sh
# Log script output with prefix
log_output()
{
while read INPUT; do
echo "${1} ${INPUT}"
done
}
# Shut up curl
export CURL_OPTIONS="-s"
# Build 1.0.2 in current directory
./build-libssl.sh --noparallel --verbose-on-error | log_output "ARCHS " &
PID_ARCHS=$!
# Build 1.1.0 in (temporary) subdirectory
mkdir targets
cd targets
cp -r ../include .
../build-libssl.sh --noparallel --verbose-on-error --ec-nistp-64-gcc-128 --version=1.1.0f | log_output "TARGETS" &
PID_TARGETS=$!
echo "SCRIPT Started jobs, waiting for jobs to finish"
wait ${PID_ARCHS}
wait ${PID_TARGETS}
# Verify/prepare 1.1.0 build dir
xcrun -sdk iphoneos lipo -info ./lib/*.a | log_output "TARGETS"
../create-openssl-framework.sh | log_output "TARGETS"
xcrun -sdk iphoneos lipo -info frameworks/iPhone/openssl.framework/openssl | log_output "TARGETS"
cp -r ../OpenSSL-for-* .
# Back to main dir
cd ..
xcrun -sdk iphoneos lipo -info ./lib/*.a | log_output "ARCHS "
./create-openssl-framework.sh | log_output "ARCHS "
xcrun -sdk iphoneos lipo -info frameworks/iPhone/openssl.framework/openssl | log_output "ARCHS "