Signed-off-by: Ran Benita <ran@unusedvar.com>
---
steps:
- - task: UsePythonVersion@0
- inputs:
- versionSpec: '3.7'
- displayName: 'Use Python 3.7'
-
- bash: |
set -euo pipefail
python -m pip install --upgrade pip meson
--- /dev/null
+---
+steps:
+ - task: UsePythonVersion@0
+ inputs:
+ versionSpec: '3.7'
+ displayName: 'Use Python 3.7'
- bash: |
set -euo pipefail
meson test -C build --print-errorlogs --wrapper="${{ parameters.wrapper }}"
- python3 scripts/meson-junit-report.py --project-name=xkbcommon \
+ python scripts/meson-junit-report.py --project-name=xkbcommon \
--job-id='$(Build.BuildId)' --branch='$(Build.SourceBranch)' \
--output=testlog.xml build/meson-logs/testlog*.json
displayName: 'Test'
pool:
vmImage: 'ubuntu-16.04'
steps:
+ - template: .azure-pipelines/steps/dependencies-python.yml
- template: .azure-pipelines/steps/dependencies-linux.yml
- template: .azure-pipelines/steps/meson.yml
parameters:
pool:
vmImage: 'macos-10.13'
steps:
+ - template: .azure-pipelines/steps/dependencies-python.yml
- template: .azure-pipelines/steps/dependencies-macos.yml
- template: .azure-pipelines/steps/meson.yml
parameters: