forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Basic Windows setup (envoyproxy#8208)
Signed-off-by: Lizan Zhou <[email protected]>
- Loading branch information
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Azure Pipelines | ||
# TODO(lizan): Consider rolling all presubmit jobs into one file. | ||
trigger: | ||
- master | ||
|
||
jobs: | ||
- job: Windows | ||
timeoutInMinutes: 360 | ||
pool: | ||
vmImage: 'windows-latest' | ||
|
||
steps: | ||
- powershell: | | ||
.\ci\windows_ci_setup.ps1 | ||
Write-Host "##vso[task.prependpath]$env:TOOLS_BIN_DIR" | ||
displayName: 'Install dependencies' | ||
env: | ||
TOOLS_BIN_DIR: $(Pipeline.Workspace)\bin | ||
- powershell: .\ci\windows_ci_steps.ps1 | ||
displayName: 'Run Windows CI' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This file only installs dependencies needed in additio to Azure pipelines hosted image. | ||
# The list of installed software can be found at: | ||
# https://github.com/Microsoft/azure-pipelines-image-generation/blob/master/images/win/Vs2019-Server2019-Readme.md | ||
|
||
mkdir "$env:TOOLS_BIN_DIR" | ||
|
||
$wc = New-Object System.Net.WebClient | ||
$wc.DownloadFile("https://github.com/bazelbuild/bazelisk/releases/download/v1.0/bazelisk-windows-amd64.exe", "$env:TOOLS_BIN_DIR\bazel.exe") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bazel --bazelrc=windows\.bazelrc test @envoy_api//test/build/... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters