You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2021/02/17 12:13:37 UTC
[lucenenet] 05/05: azure-pipelines.yml: Added option to explicitly
run x86 tests without having to do a nightly run which adds additional
testing time
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit a8477eeda7b841c1f7c90436dcd942be3f662083
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Wed Feb 17 00:01:11 2021 +0700
azure-pipelines.yml: Added option to explicitly run x86 tests without having to do a nightly run which adds additional testing time
---
azure-pipelines.yml | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 1e44f50..232cd46 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -1,4 +1,4 @@
-# Licensed to the Apache Software Foundation (ASF) under one
+# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
@@ -49,6 +49,8 @@ name: 'vNext$(rev:.r)' # Format for build number (will be overridden)
# Verbose: 'false' (Optional - set to true for verbose logging output)
# Multiplier: '1' (Optional - the number of iterations to multiply applicable tests by)
+# RunX86Tests: 'false' (Optional - set to 'true' to enable x86 tests)
+
variables:
- name: BuildCounter
value: $[counter(variables['VersionSuffix'],coalesce(variables['BuildCounterSeed'], 1250))]
@@ -348,8 +350,8 @@ stages:
maximumParallelJobs: $(maximumParallelJobs)
maximumAllowedFailures: $(maximumAllowedFailures)
- - job: Test_net5_0_x86 # Only run Nightly
- condition: and(succeeded(), ne(variables['RunTests'], 'false'), eq(variables['IsNightly'], 'true'))
+ - job: Test_net5_0_x86 # Only run Nightly or if explicitly enabled with RunX86Tests
+ condition: and(succeeded(), ne(variables['RunTests'], 'false'), or(eq(variables['IsNightly'], 'true'), eq(variables['RunX86Tests'], 'true')))
strategy:
matrix:
Windows:
@@ -412,8 +414,8 @@ stages:
maximumParallelJobs: $(maximumParallelJobs)
maximumAllowedFailures: $(maximumAllowedFailures)
- - job: Test_netcoreapp3_1_x86 # Only run Nightly
- condition: and(succeeded(), ne(variables['RunTests'], 'false'), eq(variables['IsNightly'], 'true'))
+ - job: Test_netcoreapp3_1_x86 # Only run Nightly or if explicitly enabled with RunX86Tests
+ condition: and(succeeded(), ne(variables['RunTests'], 'false'), or(eq(variables['IsNightly'], 'true'), eq(variables['RunX86Tests'], 'true')))
strategy:
matrix:
Windows:
@@ -476,8 +478,8 @@ stages:
maximumParallelJobs: $(maximumParallelJobs)
maximumAllowedFailures: $(maximumAllowedFailures)
- - job: Test_netcoreapp2_2_x86 # Only run Nightly
- condition: and(succeeded(), ne(variables['RunTests'], 'false'), eq(variables['IsNightly'], 'true'))
+ - job: Test_netcoreapp2_2_x86 # Only run Nightly or if explicitly enabled with RunX86Tests
+ condition: and(succeeded(), ne(variables['RunTests'], 'false'), or(eq(variables['IsNightly'], 'true'), eq(variables['RunX86Tests'], 'true')))
strategy:
matrix:
Windows:
@@ -523,8 +525,8 @@ stages:
maximumParallelJobs: 8
maximumAllowedFailures: 2 # Maximum allowed failures for a successful build
- - job: Test_net48_Windows_x86 # Only run Nightly
- condition: and(succeeded(), ne(variables['RunTests'], 'false'), eq(variables['IsNightly'], 'true'))
+ - job: Test_net48_Windows_x86 # Only run Nightly or if explicitly enabled with RunX86Tests
+ condition: and(succeeded(), ne(variables['RunTests'], 'false'), or(eq(variables['IsNightly'], 'true'), eq(variables['RunX86Tests'], 'true')))
displayName: 'Test net48,x86 on Windows'
pool:
vmImage: 'windows-2019'