Skip to content

Commit 8cab5e1

Browse files
authored
build/bot: add mac build script (#24917)
1 parent 7aced81 commit 8cab5e1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

build/bot/macos-build.sh

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

0 commit comments

Comments
 (0)