mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-29 00:30:05 +00:00
TUN-8066: Define scripts to build on Windows agents
This commit is contained in:
16
.teamcity/windows/install-cloudflare-go.ps1
vendored
Normal file
16
.teamcity/windows/install-cloudflare-go.ps1
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
Set-StrictMode -Version Latest
|
||||
$ErrorActionPreference = "Stop"
|
||||
$ProgressPreference = "SilentlyContinue"
|
||||
|
||||
Write-Output "Downloading cloudflare go..."
|
||||
|
||||
Set-Location "$Env:Temp"
|
||||
|
||||
git clone -q https://github.com/cloudflare/go
|
||||
Write-Output "Building go..."
|
||||
cd go/src
|
||||
# https://github.com/cloudflare/go/tree/34129e47042e214121b6bbff0ded4712debed18e is version go1.21.5-devel-cf
|
||||
git checkout -q 34129e47042e214121b6bbff0ded4712debed18e
|
||||
& ./make.bat
|
||||
|
||||
Write-Output "Installed"
|
Reference in New Issue
Block a user