forked from Azure/azure-cosmos-dotnet-v3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Internal] Preview Build: Add preview build as part of gates (Azure#1413
) * Add preview build as part of gates * Update templates/build-preview.yml Co-Authored-By: Matias Quaranta <ealsur@users.noreply.github.com> Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
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
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
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,29 @@ | ||
# File: templates/build-preview.yml | ||
|
||
parameters: | ||
BuildConfiguration: '' | ||
Arguments: '' | ||
VmImage: '' | ||
OS: 'Windows' | ||
|
||
jobs: | ||
|
||
- job: | ||
displayName: Preview Flag ${{ parameters.BuildConfiguration }} | ||
pool: | ||
vmImage: ${{ parameters.VmImage }} | ||
|
||
steps: | ||
- checkout: self # self represents the repo where the initial Pipelines YAML file was found | ||
clean: true # if true, execute `execute git clean -ffdx && git reset --hard HEAD` before fetching | ||
|
||
- task: DotNetCoreCLI@2 | ||
displayName: Build Microsoft.Azure.Cosmos PREVIEW | ||
inputs: | ||
command: build | ||
configuration: $(parameters.BuildConfiguration) | ||
nugetConfigPath: NuGet.config | ||
projects: Microsoft.Azure.Cosmos.sln | ||
arguments: -p:Optimize=true -p:IsPreview=true | ||
versioningScheme: OFF | ||
|