ci: remove azure pipelines build Broken, replaced with github actions. Signed-off-by: Ran Benita <ran@unusedvar.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
diff --git a/.azure-pipelines/steps/dependencies-linux.yml b/.azure-pipelines/steps/dependencies-linux.yml
deleted file mode 100644
index a444807..0000000
--- a/.azure-pipelines/steps/dependencies-linux.yml
+++ /dev/null
@@ -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)'
diff --git a/.azure-pipelines/steps/dependencies-macos.yml b/.azure-pipelines/steps/dependencies-macos.yml
deleted file mode 100644
index 387d56c..0000000
--- a/.azure-pipelines/steps/dependencies-macos.yml
+++ /dev/null
@@ -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
diff --git a/.azure-pipelines/steps/dependencies-python.yml b/.azure-pipelines/steps/dependencies-python.yml
deleted file mode 100644
index fb3f6ab..0000000
--- a/.azure-pipelines/steps/dependencies-python.yml
+++ /dev/null
@@ -1,6 +0,0 @@
----
-steps:
- - task: UsePythonVersion@0
- inputs:
- versionSpec: '3.7'
- displayName: 'Use Python 3.7'
diff --git a/.azure-pipelines/steps/dependencies-windows.yml b/.azure-pipelines/steps/dependencies-windows.yml
deleted file mode 100644
index 1875724..0000000
--- a/.azure-pipelines/steps/dependencies-windows.yml
+++ /dev/null
@@ -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)'
diff --git a/.azure-pipelines/steps/meson.yml b/.azure-pipelines/steps/meson.yml
deleted file mode 100644
index c4e6c6c..0000000
--- a/.azure-pipelines/steps/meson.yml
+++ /dev/null
@@ -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
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
deleted file mode 100644
index 0d1136b..0000000
--- a/azure-pipelines.yml
+++ /dev/null
@@ -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'