forked from nxtmeta/go-nxtmeta
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/bot: add mac build script (ethereum#24917)
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
set -e -x | ||
|
||
# -- Build for macOS and upload to Azure | ||
go run build/ci.go install -dlgo | ||
go run build/ci.go archive -type tar # -signer OSX_SIGNING_KEY -upload gethstore/builds | ||
|
||
# # -- CocoaPods | ||
# gem uninstall cocoapods -a -x | ||
# gem install cocoapods | ||
# mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak | ||
# sed -i '.bak' 's/repo.join/!repo.join/g' $(dirname `gem which cocoapods`)/cocoapods/sources_manager.rb | ||
# git clone --depth=1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master | ||
# pod setup --verbose | ||
|
||
# -- Check XCode version | ||
xctool -version | ||
xcrun simctl list | ||
|
||
# # -- Build for iOS and upload to Azure | ||
# go run build/ci.go xcode -signer IOS_SIGNING_KEY -upload gethstore/builds |