2017-09-23 02:51:59 +02:00
|
|
|
version: 1.0.{build}
|
2019-12-13 13:58:52 +01:00
|
|
|
image: Visual Studio 2019
|
2017-09-23 02:51:59 +02:00
|
|
|
configuration: Release
|
|
|
|
platform: x64
|
|
|
|
clone_folder: '%USERPROFILE%\go\src\github.com\pulumi\pulumi'
|
2017-12-19 20:38:40 +01:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2019-07-13 00:43:38 +02:00
|
|
|
- /v\d*\.\d*\.\d*/
|
2017-09-23 02:51:59 +02:00
|
|
|
environment:
|
2018-04-03 06:34:54 +02:00
|
|
|
PULUMI_API: https://api.pulumi-staging.io
|
|
|
|
PULUMI_ACCESS_TOKEN:
|
|
|
|
secure: +c7s1GgUunQl8QlLZs7zafFv6lJbZp40fx1kJl7v+n0qa8oq3ssBlVEl9gfoMBgH
|
2017-09-23 02:51:59 +02:00
|
|
|
AWS_ACCESS_KEY_ID:
|
|
|
|
secure: eB7Gfl1GHhz60tH2EEASI7IFsWHDd5SV+kponXwaCSo=
|
|
|
|
AWS_SECRET_ACCESS_KEY:
|
|
|
|
secure: T19RJk7Uv3trAChRRDB82OAUDI8k2q9PaSetU7yDFu4aC+MshdwAhTTN/TaPkwl/
|
2019-12-13 13:58:52 +01:00
|
|
|
AWS_REGION: us-west-2
|
|
|
|
ARM_LOCATION: "West US 2"
|
|
|
|
ARM_ENVIRONMENT: public
|
|
|
|
matrix:
|
|
|
|
- nodejs_version: "10.15.3"
|
|
|
|
init:
|
|
|
|
- ps: Install-Product node $env:nodejs_version x64
|
2017-09-23 02:51:59 +02:00
|
|
|
install:
|
2019-04-01 16:27:21 +02:00
|
|
|
- rmdir C:\go /s /q
|
2019-11-17 18:47:11 +01:00
|
|
|
- appveyor DownloadFile https://dl.google.com/go/go1.13.4.windows-amd64.zip
|
|
|
|
- 7z x go1.13.4.windows-amd64.zip -y -oC:\ > NUL
|
2017-09-23 02:51:59 +02:00
|
|
|
- cmd: >-
|
|
|
|
set GOPATH=%USERPROFILE%\go
|
|
|
|
|
2019-04-01 16:27:21 +02:00
|
|
|
set PATH=C:\go\bin;%PATH%;%GOPATH%\bin
|
2017-09-23 02:51:59 +02:00
|
|
|
|
2019-12-13 13:58:52 +01:00
|
|
|
set PATH=%PATH%;%USERPROFILE%\.yarn\bin
|
|
|
|
|
2018-02-16 01:17:47 +01:00
|
|
|
set PulumiRoot=C:\Pulumi
|
|
|
|
|
|
|
|
set PATH=%PulumiRoot%\bin;%PATH%
|
2017-09-23 02:51:59 +02:00
|
|
|
|
|
|
|
go version
|
|
|
|
|
2018-06-18 06:42:23 +02:00
|
|
|
git clone https://github.com/pulumi/scripts.git "%USERPROFILE%\go\src\github.com\pulumi\scripts"
|
2019-12-13 13:58:52 +01:00
|
|
|
|
|
|
|
set PATH=%PATH%;C:\Python37-x64\Scripts
|
|
|
|
|
|
|
|
pip3 install pyenv-win --target %USERPROFILE%/.pyenv
|
|
|
|
|
|
|
|
set PYENV=%USERPROFILE%\.pyenv\pyenv-win
|
|
|
|
|
|
|
|
set PATH=%PATH%;%PYENV%\bin;%PYENV%\shims
|
|
|
|
|
|
|
|
pip3 install pipenv
|
|
|
|
|
|
|
|
set PULUMI_LOCAL_NUGET=C:\Pulumi\nuget
|
|
|
|
|
|
|
|
set PULUMI_TEST_OWNER=moolumi
|
2020-02-28 15:14:46 +01:00
|
|
|
|
|
|
|
choco install dep
|
2018-07-30 02:23:37 +02:00
|
|
|
- ps: >-
|
|
|
|
New-Item -Type Directory "$env:USERPROFILE\go\bin"
|
2017-09-23 02:51:59 +02:00
|
|
|
build_script:
|
|
|
|
- cmd: >-
|
2019-12-13 13:58:52 +01:00
|
|
|
set GO111MODULE=on
|
|
|
|
|
|
|
|
go mod tidy
|
|
|
|
|
|
|
|
go mod vendor
|
|
|
|
|
2020-02-09 16:05:17 +01:00
|
|
|
if defined APPVEYOR_REPO_TAG_NAME ( dotnet msbuild /t:ReleaseProcess /v:Detailed build.proj )
|
2017-09-23 02:51:59 +02:00
|
|
|
test: off
|