diff options
author | mattip <matti.picus@gmail.com> | 2019-10-24 15:05:09 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-10-25 00:27:18 +0300 |
commit | a2a131fb95700395b606f85f19edb49f50d6d5fa (patch) | |
tree | 9f6bc42e683e58b74df8228e1fdf7490f41e4b81 | |
parent | c10d66ab8e153d944dc705434c5733d0e8249926 (diff) | |
download | numpy-a2a131fb95700395b606f85f19edb49f50d6d5fa.tar.gz |
TST, BUILD: add a gcc 4.8 run on ubuntu 18.04
-rw-r--r-- | azure-pipelines.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 633808c0b..3af335acc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -180,3 +180,25 @@ stages: testResultsFiles: '**/test-*.xml' testRunTitle: 'Publish test results for PyPy3' failTaskOnFailedTests: true + - job: Linux_gcc48 + pool: + vmImage: 'ubuntu-18.04' + steps: + - script: | + if ! `gcc-4.8 2>/dev/null`; then + sudo apt install gcc-4.8 + fi + displayName: 'add gcc 4.8' + - script: | + python3 -m pip install --user --upgrade pip setuptools + python3 -m pip install --user -r test_requirements.txt + CPPFLAGS='' CC=gcc-4.8 F77=gfortran-5 F90=gfortran-5 \ + python3 runtests.py --debug-info --mode=full -- -rsx --junitxml=junit/test-results.xml + displayName: 'Run gcc4.8 Build / Tests' + - task: PublishTestResults@2 + condition: succeededOrFailed() + inputs: + testResultsFiles: '**/test-*.xml' + failTaskOnFailedTests: true + testRunTitle: 'Publish test results for gcc 4.8' + |