Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Added iOS targets to Travis scripts
- Loading branch information
Showing
4 changed files
with
75 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
set -ev | ||
cd $TRAVIS_BUILD_DIR/code/build/ios/xcode/orx-ios.xcodeproj | ||
xcodebuild -workspace project.xcworkspace -scheme orxLIB -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Air' | ||
xcodebuild -workspace project.xcworkspace -scheme orxLIB -configuration Profile -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Air' | ||
xcodebuild -workspace project.xcworkspace -scheme orxLIB -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Air' | ||
cd $TRAVIS_BUILD_DIR/code/lib/static/ios | ||
mkdir i386 | ||
mv liborx.a liborxp.a liborxd.a i386 | ||
cd $TRAVIS_BUILD_DIR/code/build/ios/xcode/orx-ios.xcodeproj | ||
xcodebuild -workspace project.xcworkspace -scheme orxLIB -configuration Debug -sdk iphoneos | ||
xcodebuild -workspace project.xcworkspace -scheme orxLIB -configuration Profile -sdk iphoneos | ||
xcodebuild -workspace project.xcworkspace -scheme orxLIB -configuration Release -sdk iphoneos | ||
cd $TRAVIS_BUILD_DIR/code/lib/static/ios | ||
mkdir arm | ||
mv liborx.a liborxp.a liborxd.a arm | ||
lipo -create i386/liborxd.a arm/liborxd.a -output liborxd.a | ||
lipo -create i386/liborxd.a arm/liborxp.a -output liborxp.a | ||
lipo -create i386/liborxd.a arm/liborx.a -output liborx.a | ||
cd $TRAVIS_BUILD_DIR/code/build/mac/gmake | ||
make config=core_release64 | ||
cd $TRAVIS_BUILD_DIR/code/build/python | ||
python package.py -p ios |