-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1373 from microsoft/dev/andarno/libtemplateUpdate
Merge latest Library.Template
- Loading branch information
Showing
12 changed files
with
159 additions
and
102 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
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
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,92 @@ | ||
trigger: | ||
batch: true | ||
branches: | ||
include: | ||
- main | ||
- 'v16.*' | ||
- 'v17.*' | ||
- 'validate/*' | ||
paths: | ||
exclude: | ||
- doc/ | ||
- '*.md' | ||
- .vscode/ | ||
- azure-pipelines/release.yml | ||
- azure-pipelines/vs-insertion.yml | ||
|
||
parameters: | ||
# As an entrypoint pipeline yml file, all parameters here show up in the Queue Run dialog. | ||
# If any paramaters should NOT be queue-time options, they should be removed from here | ||
# and references to them in this file replaced with hard-coded values. | ||
# - name: ShouldSkipOptimize # Uncomment this and references to it below when setting EnableOptProf to true in build.yml. | ||
# displayName: Skip OptProf optimization | ||
# type: boolean | ||
# default: false | ||
- name: EnableMacOSBuild | ||
displayName: Build on macOS | ||
type: boolean | ||
default: false # macOS is often bogged down in Azure Pipelines | ||
- name: RunTests | ||
displayName: Run tests | ||
type: boolean | ||
default: true | ||
- name: EnableAPIScan | ||
displayName: Include APIScan with compliance tools | ||
type: boolean | ||
default: false | ||
- name: EnableProductionSDL | ||
displayName: Enable Production SDL | ||
type: boolean | ||
default: false | ||
|
||
resources: | ||
repositories: | ||
- repository: MicroBuildTemplate | ||
type: git | ||
name: 1ESPipelineTemplates/MicroBuildTemplate | ||
ref: refs/tags/release | ||
|
||
variables: | ||
- template: GlobalVariables.yml | ||
|
||
extends: | ||
template: azure-pipelines/MicroBuild.1ES.Unofficial.yml@MicroBuildTemplate | ||
parameters: | ||
sdl: | ||
sourceAnalysisPool: VSEngSS-MicroBuild2022-1ES | ||
suppression: | ||
suppressionFile: $(System.DefaultWorkingDirectory)\azure-pipelines\falsepositives.gdnsuppress | ||
enableProductionSDL: ${{ parameters.EnableProductionSDL }} | ||
codeSignValidation: | ||
enabled: ${{ parameters.EnableProductionSDL }} | ||
break: true | ||
additionalTargetsGlobPattern: -|Variables-*\*.ps1;-|APIScanInputs-*\**;-|test_symbols-*\**;-|MicroBuild\** | ||
policyFile: $(MBSIGN_APPFOLDER)\CSVTestSignPolicy.xml | ||
policheck: | ||
enabled: ${{ parameters.EnableProductionSDL }} | ||
exclusionsFile: $(System.DefaultWorkingDirectory)\azure-pipelines\PoliCheckExclusions.xml | ||
sbom: | ||
enabled: ${{ parameters.EnableProductionSDL }} | ||
stages: | ||
- stage: Build | ||
variables: | ||
- template: /azure-pipelines/BuildStageVariables.yml@self | ||
jobs: | ||
- template: /azure-pipelines/build.yml@self | ||
parameters: | ||
Is1ESPT: true | ||
RealSign: false | ||
# ShouldSkipOptimize: ${{ parameters.ShouldSkipOptimize }} | ||
EnableAPIScan: ${{ parameters.EnableAPIScan }} | ||
windowsPool: VSEngSS-MicroBuild2022-1ES | ||
linuxPool: | ||
name: AzurePipelines-EO | ||
demands: | ||
- ImageOverride -equals 1ESPT-Ubuntu22.04 | ||
os: Linux | ||
macOSPool: | ||
name: Azure Pipelines | ||
vmImage: macOS-14 | ||
os: macOS | ||
EnableMacOSBuild: ${{ parameters.EnableMacOSBuild }} | ||
RunTests: ${{ parameters.RunTests }} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"sdk": { | ||
"version": "9.0.101", | ||
"version": "9.0.102", | ||
"rollForward": "patch", | ||
"allowPrerelease": false | ||
}, | ||
|
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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project> | ||
<ItemGroup> | ||
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" Condition="Exists('xunit.runner.json')" /> | ||
</ItemGroup> | ||
|
||
<Import Project="$([MSBuild]::GetPathOfFileAbove($(MSBuildThisFile), $(MSBuildThisFileDirectory)..))" /> | ||
</Project> |
7 changes: 0 additions & 7 deletions
7
test/Microsoft.VisualStudio.Threading.Analyzers.Tests/app.config
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
test/Microsoft.VisualStudio.Threading.Analyzers.Tests/xunit.runner.json
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,4 @@ | ||
{ | ||
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", | ||
"shadowCopy": false | ||
} |
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
5 changes: 5 additions & 0 deletions
5
test/Microsoft.VisualStudio.Threading.Tests/xunit.runner.json
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,5 @@ | ||
{ | ||
"$schema": "https://xunit.net/schema/current/xunit.runner.schema.json", | ||
"shadowCopy": false, | ||
"methodDisplay": "method" | ||
} |