-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated CI * Use ubuntu-20.04 because of pre-installed .NET SDKs * Use ComPlus_ prefix for env-variables and not DOTNET_ (is available for .NET 6 onwards) * Allow ci-docs.yml to run even on PRs when triggered
- Loading branch information
Showing
21 changed files
with
208 additions
and
149 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,41 @@ | ||
variables: | ||
DOTNET_NOLOGO: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
CI_BUILD_NUMBER: $(Build.BuildId) | ||
BRANCH_NAME: $(Build.SourceBranchName) | ||
TAG_NAME: $(Build.SourceBranchName) | ||
|
||
trigger: none | ||
# pr trigger must not be excluded, but in the UI for the pipeline definition a setting has to be made. | ||
# See https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml#comment-triggers | ||
# for further info. | ||
|
||
schedules: | ||
- cron: "0 0 * * *" | ||
displayName: "Daily midnight build" | ||
branches: | ||
include: | ||
- master | ||
|
||
stages: | ||
- stage: Benchmarks | ||
jobs: | ||
- template: jobs/benchmarks.yml | ||
parameters: | ||
name: benchmarks_windows | ||
vmImage: 'windows-2022' | ||
|
||
- template: jobs/benchmarks.yml | ||
parameters: | ||
name: benchmarks_linux | ||
vmImage: 'ubuntu-20.04' | ||
|
||
- template: jobs/benchmarks.yml | ||
parameters: | ||
name: benchmarks_mac | ||
vmImage: 'macOS-12' | ||
|
||
- template: jobs/benchmarks_net_full.yml | ||
parameters: | ||
name: benchmarks_net_full | ||
vmImage: 'windows-2022' |
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,27 @@ | ||
variables: | ||
DOTNET_NOLOGO: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
CI_BUILD_NUMBER: $(Build.BuildId) | ||
BRANCH_NAME: $(Build.SourceBranchName) | ||
TAG_NAME: $(Build.SourceBranchName) | ||
|
||
# We don't need a CI trigger here, as the pipeline trigger starts this pipeline for master anyway. | ||
trigger: none | ||
|
||
resources: | ||
pipelines: | ||
- pipeline: ci-build | ||
source: Base64 | ||
trigger: true | ||
|
||
stages: | ||
- stage: Build_Docs | ||
jobs: | ||
- template: jobs/build_docs.yml | ||
|
||
- stage: Deploy | ||
dependsOn: | ||
- Build_Docs | ||
condition: and( succeeded(), startsWith( variables['Build.SourceBranch'], 'refs/tags' ) ) | ||
jobs: | ||
- template: jobs/deploy_docs.yml |
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 |
---|---|---|
@@ -1,128 +1,82 @@ | ||
variables: | ||
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1 | ||
DOTNET_NOLOGO: 1 | ||
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | ||
CI_BUILD_NUMBER: $(Build.BuildId) | ||
BRANCH_NAME: $(Build.SourceBranchName) | ||
TAG_NAME: $(Build.SourceBranchName) | ||
#SDK_VERSION: 3.x | ||
|
||
trigger: | ||
- master | ||
- ci-* | ||
- refs/tags/v* | ||
|
||
pr: | ||
branches: | ||
include: | ||
- master | ||
|
||
schedules: | ||
- cron: "0 0 * * *" | ||
displayName: "Daily midnight build" | ||
branches: | ||
include: | ||
- master | ||
|
||
stages: | ||
- stage: Build_Test_Windows | ||
jobs: | ||
- template: jobs/build_and_test.yml | ||
parameters: | ||
name: windows | ||
vmImage: 'windows-2019' | ||
vmImage: 'windows-2022' | ||
|
||
- stage: Build_Test_Linux | ||
dependsOn: [] # break sequential dependency | ||
jobs: | ||
- template: jobs/build_and_test.yml | ||
parameters: | ||
name: linux | ||
vmImage: 'ubuntu-18.04' | ||
vmImage: 'ubuntu-20.04' | ||
|
||
- template: jobs/build_and_test_intrinsics.yml | ||
parameters: | ||
name: intrinsics | ||
vmImage: 'ubuntu-18.04' | ||
vmImage: 'ubuntu-20.04' | ||
|
||
- stage: Build_Test_MacOS | ||
dependsOn: [] # break sequential dependency | ||
jobs: | ||
- template: jobs/build_and_test.yml | ||
parameters: | ||
name: mac | ||
vmImage: 'macOS-10.15' | ||
vmImage: 'macOS-12' | ||
|
||
- stage: Code_Coverage | ||
- stage: Demo | ||
dependsOn: | ||
- Build_Test_Windows | ||
- Build_Test_Linux | ||
- Build_Test_MacOS | ||
jobs: | ||
- template: jobs/coverage.yml | ||
- template: jobs/demo.yml | ||
parameters: | ||
name: demo_windows | ||
vmImage: 'windows-2022' | ||
|
||
- template: jobs/demo.yml | ||
parameters: | ||
name: demo_linux | ||
vmImage: 'ubuntu-20.04' | ||
|
||
- template: jobs/demo.yml | ||
parameters: | ||
name: demo_mac | ||
vmImage: 'macOS-12' | ||
|
||
- stage: Build_Docs | ||
- stage: Code_Coverage | ||
dependsOn: | ||
- Build_Test_Windows | ||
- Build_Test_Linux | ||
- Build_Test_MacOS | ||
jobs: | ||
- template: jobs/build_docs.yml | ||
- template: jobs/coverage.yml | ||
|
||
- stage: Deploy | ||
dependsOn: | ||
- Build_Test_Windows | ||
- Build_Test_Linux | ||
- Build_Test_MacOS | ||
- Build_Docs | ||
condition: and( succeeded(), startsWith( variables['Build.SourceBranch'], 'refs/tags' ) ) | ||
jobs: | ||
- template: jobs/deploy_nuget.yml | ||
- template: jobs/deploy_docs.yml | ||
|
||
- stage: Benchmarks | ||
dependsOn: | ||
- Build_Test_Windows | ||
- Build_Test_Linux | ||
- Build_Test_MacOS | ||
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'), eq(variables['Build.Reason'], 'Schedule')) | ||
jobs: | ||
- template: jobs/benchmarks.yml | ||
parameters: | ||
name: benchmarks_windows | ||
vmImage: 'windows-2019' | ||
|
||
- template: jobs/benchmarks.yml | ||
parameters: | ||
name: benchmarks_linux | ||
vmImage: 'ubuntu-18.04' | ||
|
||
- template: jobs/benchmarks.yml | ||
parameters: | ||
name: benchmarks_mac | ||
vmImage: 'macOS-10.15' | ||
|
||
- template: jobs/benchmarks_net_full.yml | ||
parameters: | ||
name: benchmarks_net_full | ||
vmImage: 'windows-2019' | ||
|
||
- stage: Demo | ||
dependsOn: | ||
- Build_Test_Windows | ||
- Build_Test_Linux | ||
- Build_Test_MacOS | ||
jobs: | ||
- template: jobs/demo.yml | ||
parameters: | ||
name: demo_windows | ||
vmImage: 'windows-2019' | ||
|
||
- template: jobs/demo.yml | ||
parameters: | ||
name: demo_linux | ||
vmImage: 'ubuntu-18.04' | ||
|
||
- template: jobs/demo.yml | ||
parameters: | ||
name: demo_mac | ||
vmImage: 'macOS-10.15' |
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
Oops, something went wrong.