0
0
Fork 0
mirror of https://github.com/mumble-voip/mumble.git synced 2025-03-15 04:55:00 +00:00
mumble-voip_mumble/.ci/azure-pipelines/main-pr.yml
Hartmnt e57f6c52b3 MAINT(ci): Update to macOS 14 on Azure Pipelines
The macOS 12 image has been removed.

We skip version 13 since we always run the latest macOS on our own builder anyway.
2025-01-15 17:48:29 +01:00

72 lines
2.3 KiB
YAML

# Copyright The Mumble Developers. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file at the root of the
# Mumble source tree or at <https://www.mumble.info/LICENSE>.
variables:
MUMBLE_ENVIRONMENT_STORE: '$(Agent.ToolsDirectory)/MumbleBuild'
MUMBLE_ENVIRONMENT_SOURCE: 'https://dl.mumble.info/build/vcpkg'
MUMBLE_ENVIRONMENT_PATH: '$(MUMBLE_ENVIRONMENT_STORE)/$(MUMBLE_ENVIRONMENT_VERSION)'
MUMBLE_ENVIRONMENT_TOOLCHAIN: '$(MUMBLE_ENVIRONMENT_PATH)/scripts/buildsystems/vcpkg.cmake'
MUMBLE_SOURCE_COMMIT: '$(Build.SourceVersion)'
MUMBLE_SOURCE_REPOSITORY: '$(Build.SourcesDirectory)'
MUMBLE_BUILD_DIRECTORY: '$(Build.BinariesDirectory)'
# We set this to an empty String explicitly as the variable is not set for PR builds but it is required
# to be an empty String in that case. That's why we have to set it here. For Nightly builds the
# variable is set on Azure itself.
BUILD_NUMBER_TOKEN: ''
jobs:
- job: Windows_x64
workspace:
clean: all
timeoutInMinutes: 90
pool:
vmImage: 'windows-2022'
variables:
MUMBLE_ENVIRONMENT_VERSION: 'mumble_env.x64-windows-static-md-release.2024-07-22.9ad0398d8'
MUMBLE_ENVIRONMENT_TRIPLET: 'x64-windows-static-md-release'
steps:
- template: steps_windows.yml
parameters:
arch: 'x64'
- job: Linux
workspace:
clean: all
pool:
vmImage: 'ubuntu-22.04'
steps:
- template: steps_linux.yml
- job: macOS
workspace:
clean: all
pool:
vmImage: 'macOS-14'
variables:
MUMBLE_ENVIRONMENT_VERSION: 'mumble_env.x64-osx-release.2024-08-17.9ad0398d8'
MUMBLE_ENVIRONMENT_TRIPLET: 'x64-osx-release'
steps:
- template: steps_macos.yml
parameters:
installEnvironment: true
- job: Translations
pool:
vmImage: 'ubuntu-latest'
steps:
- script: .ci/azure-pipelines/install-environment_linux_translations.bash
displayName: 'Install Qt tools'
- script: .ci/azure-pipelines/assertNoTranslationChanges.sh
displayName: 'Checking for translation changes'
- job: Docs
pool:
vmImage: 'ubuntu-latest'
steps:
- checkout: self
submodules: false
fetchDepth: 1
- script: .ci/azure-pipelines/checkDocs.bash
displayName: 'Check documentation'