aboutsummaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-09-03 21:24:27 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-09-04 17:03:24 +0200
commitbe3bd9ea64570a468d482a8fc70e3d8474f77286 (patch)
tree8004ef1f604219f5df668961ccb13b123133fc62 /azure-pipelines.yml
parentd5f30308b44f2609865a6ba3993de091f6643e72 (diff)
downloadmeson-be3bd9ea64570a468d482a8fc70e3d8474f77286.zip
meson-be3bd9ea64570a468d482a8fc70e3d8474f77286.tar.gz
meson-be3bd9ea64570a468d482a8fc70e3d8474f77286.tar.bz2
ci: Also use the `autoCancel` key for Azure
This also removes the additional upload step for test results in the hope of fixing the `autoCancel` flag.
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml15
1 files changed, 13 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 252213b..2696fc1 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -17,6 +17,7 @@ trigger:
- 'run_tests.py'
- 'run_unittests.py'
pr:
+ autoCancel: true
branches:
include:
- '*'
@@ -64,7 +65,12 @@ jobs:
versionSpec: '3.6'
addToPath: true
architecture: 'x64'
- - template: ci/azure-steps.yml
+ - task: PowerShell@2
+ inputs:
+ targetType: 'filePath'
+ filePath: .\ci\run.ps1
+ env:
+ MESON_CI_JOBNAME: azure-$(System.JobName)
- job: vs2019
timeoutInMinutes: 120
@@ -93,4 +99,9 @@ jobs:
versionSpec: '3.7'
addToPath: true
architecture: 'x64'
- - template: ci/azure-steps.yml
+ - task: PowerShell@2
+ inputs:
+ targetType: 'filePath'
+ filePath: .\ci\run.ps1
+ env:
+ MESON_CI_JOBNAME: azure-$(System.JobName)