github.com/jimmyx0x/go-ethereum@v1.10.28/build/bot/macos-build.sh (about)

     1  #!/bin/bash
     2  
     3  set -e -x
     4  
     5  # -- Check XCode version
     6  xcodebuild -version
     7  # xcrun simctl list
     8  
     9  # -- Build for macOS and upload to Azure
    10  go run build/ci.go install -dlgo
    11  go run build/ci.go archive -type tar # -signer OSX_SIGNING_KEY -upload gethstore/builds
    12  
    13  # # -- CocoaPods
    14  # gem uninstall cocoapods -a -x
    15  # gem install cocoapods
    16  # mv ~/.cocoapods/repos/master ~/.cocoapods/repos/master.bak
    17  # sed -i '.bak' 's/repo.join/!repo.join/g' $(dirname `gem which cocoapods`)/cocoapods/sources_manager.rb
    18  # git clone --depth=1 https://github.com/CocoaPods/Specs.git ~/.cocoapods/repos/master
    19  # pod setup --verbose
    20  
    21  # # -- Build for iOS and upload to Azure
    22  # go run build/ci.go xcode -signer IOS_SIGNING_KEY -upload gethstore/builds