From ed5a0b4fede69b8e6dc4db53d97ea4ae0a73956d Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 18 Apr 2020 20:57:51 +0300 Subject: [PATCH] ci: remove azure pipelines build Broken, replaced with github actions. Signed-off-by: Ran Benita --- .azure-pipelines/steps/dependencies-linux.yml | 10 ----- .azure-pipelines/steps/dependencies-macos.yml | 10 ----- .../steps/dependencies-python.yml | 6 --- .../steps/dependencies-windows.yml | 7 --- .azure-pipelines/steps/meson.yml | 34 -------------- azure-pipelines.yml | 45 ------------------- 6 files changed, 112 deletions(-) delete mode 100644 .azure-pipelines/steps/dependencies-linux.yml delete mode 100644 .azure-pipelines/steps/dependencies-macos.yml delete mode 100644 .azure-pipelines/steps/dependencies-python.yml delete mode 100644 .azure-pipelines/steps/dependencies-windows.yml delete mode 100644 .azure-pipelines/steps/meson.yml delete mode 100644 azure-pipelines.yml 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'