2018-08-28 20:44:11 +08:00
|
|
|
|
|
|
|
language: objective-c
|
|
|
|
osx_image: xcode9.4
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- LC_CTYPE=en_US.UTF-8
|
|
|
|
- LANG=en_US.UTF-8
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- env
|
|
|
|
- locale
|
2019-12-27 12:14:32 +08:00
|
|
|
- gem install xcpretty --no-document --quiet
|
2018-08-28 20:44:11 +08:00
|
|
|
- xcpretty --version
|
|
|
|
- xcodebuild -version
|
|
|
|
- xcodebuild -showsdks
|
|
|
|
|
|
|
|
script:
|
|
|
|
- set -o pipefail
|
|
|
|
|
|
|
|
- echo Build the framework
|
|
|
|
- xcodebuild clean build -scheme 'libwebp' -sdk macosx -configuration Debug | xcpretty -c
|
|
|
|
- xcodebuild clean build -scheme 'libwebp' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
|
|
|
|
- xcodebuild clean build -scheme 'libwebp' -sdk appletvsimulator -configuration Debug | xcpretty -c
|
|
|
|
- xcodebuild clean build -scheme 'libwebp' -sdk watchsimulator -configuration Debug | xcpretty -c
|
|
|
|
|
|
|
|
- echo Build the example app
|
|
|
|
- xcodebuild build -scheme 'libwebpExample' -sdk macosx -configuration Debug | xcpretty -c
|