From 8cab5e171c9db09a6878225605ea773f87f33765 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 20 May 2022 15:03:15 +0200 Subject: [PATCH] build/bot: add mac build script (#24917) --- build/bot/macos-build.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 build/bot/macos-build.sh diff --git a/build/bot/macos-build.sh b/build/bot/macos-build.sh new file mode 100644 index 000000000..d7ee45a25 --- /dev/null +++ b/build/bot/macos-build.sh @@ -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