0
0
Fork 0
mirror of https://github.com/mumble-voip/mumble.git synced 2025-03-16 21:43:45 +00:00
mumble-voip_mumble/.ci/azure-pipelines/main.yml
2024-09-19 04:44:07 +02:00

51 lines
1.7 KiB
YAML

# Copyright 2020-2023 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)'
# On Azure we have a secret variable called BUILD_NUMBER_TOKEN that will be referenced in the following
# YAML files. As it is set there though, we don't have to specify it here.
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-12'
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