summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authormattip <matti.picus@gmail.com>2021-02-03 17:01:30 +0200
committermattip <matti.picus@gmail.com>2021-02-03 17:01:30 +0200
commitdabf1faf9f5fe5c047c41d54662d828174f89dd4 (patch)
tree72f71c16412d328dea5019497c157c090246271f /azure-pipelines.yml
parent3efd3af3305698e8e0b0efed2ad653eaf1c35b4e (diff)
downloadnumpy-dabf1faf9f5fe5c047c41d54662d828174f89dd4.tar.gz
BLD: rearrange Azure build jobs
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml60
1 files changed, 30 insertions, 30 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index b56d596a5..71728734c 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -18,6 +18,35 @@ stages:
- stage: InitialTests
jobs:
+ # Native build is based on gcc flag `-march=native`
+ - job: Linux_baseline_native
+ pool:
+ vmImage: 'ubuntu-20.04'
+ steps:
+ - script: |
+ if ! `gcc 2>/dev/null`; then
+ sudo apt install gcc
+ fi
+ sudo apt install python3
+ sudo apt install python3-dev
+ # python3 has no setuptools, so install one to get us going
+ python3 -m pip install --user --upgrade pip 'setuptools<49.2.0'
+ python3 -m pip install --user -r test_requirements.txt
+ displayName: 'install python/requirements'
+ - script: |
+ python3 runtests.py --show-build-log --cpu-baseline=native --cpu-dispatch=none \
+ --debug-info --mode=full -- -rsx --junitxml=junit/test-results.xml
+ displayName: 'Run native baseline Build / Tests'
+ - task: PublishTestResults@2
+ condition: succeededOrFailed()
+ inputs:
+ testResultsFiles: '**/test-*.xml'
+ failTaskOnFailedTests: true
+ testRunTitle: 'Publish test results for baseline/native'
+
+- stage: ComprehensiveTests
+ jobs:
+
- job: WindowsFast
pool:
@@ -32,11 +61,6 @@ stages:
steps:
- template: azure-steps-windows.yml
-
-- stage: ComprehensiveTests
- jobs:
-
-
- job: Linux_Python_38_32bit_full_with_asserts
pool:
vmImage: 'ubuntu-18.04'
@@ -263,28 +287,4 @@ stages:
failTaskOnFailedTests: true
testRunTitle: 'Publish test results for gcc 4.8'
- # Native build is based on gcc flag `-march=native`
- - job: Linux_baseline_native
- pool:
- vmImage: 'ubuntu-20.04'
- steps:
- - script: |
- if ! `gcc 2>/dev/null`; then
- sudo apt install gcc
- fi
- sudo apt install python3
- sudo apt install python3-dev
- # python3 has no setuptools, so install one to get us going
- python3 -m pip install --user --upgrade pip 'setuptools<49.2.0'
- python3 -m pip install --user -r test_requirements.txt
- displayName: 'install python/requirements'
- - script: |
- python3 runtests.py --show-build-log --cpu-baseline=native --cpu-dispatch=none \
- --debug-info --mode=full -- -rsx --junitxml=junit/test-results.xml
- displayName: 'Run native baseline Build / Tests'
- - task: PublishTestResults@2
- condition: succeededOrFailed()
- inputs:
- testResultsFiles: '**/test-*.xml'
- failTaskOnFailedTests: true
- testRunTitle: 'Publish test results for baseline/native'
+