diff options
author | Roman Grundkiewicz <rogrundk@microsoft.com> | 2021-09-16 05:00:00 +0300 |
---|---|---|
committer | Marcin Junczys-Dowmunt <Marcin.JunczysDowmunt@microsoft.com> | 2021-09-16 05:00:00 +0300 |
commit | 8470c16bdd92797e75e7d5e7397ef7b29896538a (patch) | |
tree | 4bf235cd9df4c978ed9f30d3175d4058dd706d2f | |
parent | 6652b310b10fb7cff916fda2e1da4836dde701a9 (diff) |
Merged PR 20230: Add option for running regression tests only in Azure Pipelines
This PR adds a checkbox which can be unchecked to skip running compilation checks when triggering them manually. It is useful for generating expected outputs on different CPUs for tests using 8-bit models.
-rw-r--r-- | azure-pipelines.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4f7ce02d..d4d0b2e5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,6 +6,13 @@ # 3. Choose "Existing Azure Pipelines YAML file" and specify path to this file # 4. "More actions" > "Save" +parameters: +# Allow skipping the entire 'Build' stage +- name: runBuilds + displayName: Run builds? Uncheck to run regression tests only. + type: boolean + default: true + # The pipeline CI trigger is set on the branch master only and PR trigger on a # (non-draft) pull request to any branch trigger: @@ -45,6 +52,7 @@ stages: ###################################################################### - job: BuildWindows + condition: eq(${{ parameters.runBuilds }}, true) displayName: Windows strategy: @@ -180,6 +188,7 @@ stages: ###################################################################### - job: BuildUbuntu + condition: eq(${{ parameters.runBuilds }}, true) displayName: Ubuntu timeoutInMinutes: 90 @@ -322,6 +331,7 @@ stages: ###################################################################### - job: BuildUbuntuMinimal + condition: eq(${{ parameters.runBuilds }}, true) displayName: Ubuntu CPU+GPU gcc-5 cmake 3.5 pool: @@ -368,6 +378,7 @@ stages: ###################################################################### - job: BuildMacOS + condition: eq(${{ parameters.runBuilds }}, true) displayName: macOS CPU clang pool: @@ -416,6 +427,7 @@ stages: ###################################################################### - job: BuildInstall + condition: eq(${{ parameters.runBuilds }}, true) displayName: Linux CPU library install pool: |