ci: remove azure pipelines build

Broken, replaced with github actions.

Signed-off-by: Ran Benita <ran@unusedvar.com>
master
Ran Benita 2020-04-18 20:57:51 +03:00
parent 8dfece0cbb
commit ed5a0b4fed
6 changed files with 0 additions and 112 deletions

View File

@ -1,10 +0,0 @@
---
steps:
- bash: |
set -euo pipefail
python -m pip install --upgrade pip meson
sudo apt update -y
sudo env DEBIAN_FRONTEND=noninteractive apt install -y \
doxygen libxcb-xkb-dev valgrind ninja-build \
libwayland-dev wayland-protocols bison graphviz
displayName: 'Dependencies (GNU/Linux)'

View File

@ -1,10 +0,0 @@
---
steps:
- bash: |
set -euo pipefail
brew install meson doxygen bison
brew link bison --force
displayName: 'Dependencies (macOS)'
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALL_CLEANUP: 1

View File

@ -1,6 +0,0 @@
---
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
displayName: 'Use Python 3.7'

View File

@ -1,7 +0,0 @@
---
steps:
- bash: |
set -euo pipefail
choco install ninja winflexbison3 -y --no-progress --stop-on-first-failure
python -m pip install --upgrade pip meson
displayName: 'Dependencies (Windows)'

View File

@ -1,34 +0,0 @@
---
parameters:
compiler: "cc"
options: ""
wrapper: ""
prepare: ""
steps:
- script: |
${{ parameters.prepare }}
meson setup ${{ parameters.options }} build
displayName: 'Setup'
env:
CC: ${{ parameters.compiler }}
- script: |
${{ parameters.prepare }}
ninja -C build
displayName: 'Build'
env:
TERM: dumb
- bash: |
set -euo pipefail
meson test -C build --print-errorlogs --wrapper="${{ parameters.wrapper }}"
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'
- task: PublishTestResults@2
inputs:
testResultsFiles: 'testlog.xml'
failTaskOnFailedTests: true

View File

@ -1,45 +0,0 @@
---
jobs:
- job: 'Linux'
dependsOn: []
strategy:
matrix:
Clang:
compiler: clang
GCC:
compiler: gcc
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:
compiler: $(compiler)
options: -Denable-wayland=false
wrapper: valgrind --leak-check=full --track-origins=yes --error-exitcode=99
- job: 'macOS'
dependsOn: []
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:
options: -Denable-wayland=false -Denable-x11=false
prepare: 'export PATH="/usr/local/opt/bison/bin:${PATH}"'
- job: 'Windows'
dependsOn: []
pool:
vmImage: 'vs2017-win2016'
steps:
- template: .azure-pipelines/steps/dependencies-python.yml
- template: .azure-pipelines/steps/dependencies-windows.yml
- template: .azure-pipelines/steps/meson.yml
parameters:
compiler: cl
options: -Denable-wayland=false -Denable-x11=false -Denable-docs=false
prepare: 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64'