Skip to content

Commit

Permalink
TUN-8072: Add script to download cloudflare go for Mac build agents
Browse files Browse the repository at this point in the history
  • Loading branch information
chungthuang committed Dec 19, 2023
1 parent 652df22 commit 86b50ed
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .teamcity/build-macos.sh → .teamcity/mac/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ if [[ ! -z "$CODE_SIGN_NAME" ]]; then
codesign -s "${CODE_SIGN_NAME}" -f -v --timestamp --options runtime ${BINARY_NAME}

# notarize the binary
# TODO: https://jira.cfdata.org/browse/TUN-5789
# TODO: TUN-5789
fi

# creating build directory
Expand All @@ -169,7 +169,7 @@ if [[ ! -z "$PKG_SIGN_NAME" ]]; then
${PKGNAME}

# notarize the package
# TODO: https://jira.cfdata.org/browse/TUN-5789
# TODO: TUN-5789
else
pkgbuild --identifier com.cloudflare.${PRODUCT} \
--version ${VERSION} \
Expand Down
11 changes: 11 additions & 0 deletions .teamcity/mac/install-cloudflare-go.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
cd /tmp/
git clone -q https://github.com/cloudflare/go
cd go/src
# https://github.com/cloudflare/go/tree/34129e47042e214121b6bbff0ded4712debed18e is version go1.21.5-devel-cf
git checkout -q 34129e47042e214121b6bbff0ded4712debed18e
./make.bash

export PATH="/tmp/go/bin:$PATH"
go version
which go
go env

0 comments on commit 86b50ed

Please sign in to comment.