UVAtlas/build/UVAtlas-GitHub.yml

162 lines
4.5 KiB
YAML
Raw Permalink Normal View History

2022-12-08 02:09:41 +00:00
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
#
# http://go.microsoft.com/fwlink/?LinkID=512686
# Builds the library for Windows Desktop and UWP.
schedules:
- cron: "40 5 * * *"
2022-12-08 02:09:41 +00:00
displayName: 'Nightly build'
branches:
include:
- main
# GitHub Actions handles MSBuild for CI/PR
trigger: none
pr:
branches:
include:
- main
paths:
include:
- build/UVAtlas-GitHub.yml
2022-12-08 02:09:41 +00:00
resources:
repositories:
- repository: self
type: git
ref: refs/heads/main
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
pool:
vmImage: windows-2019
2022-12-08 02:09:41 +00:00
variables:
2024-05-14 19:59:10 +00:00
Codeql.Enabled: false
2022-12-08 02:09:41 +00:00
GUID_FEED: $(ADOFeedGUID)
2023-05-17 18:38:27 +00:00
2022-12-08 02:09:41 +00:00
jobs:
- job: DESKTOP_BUILD
displayName: 'Win32 Desktop'
timeoutInMinutes: 60
cancelTimeoutInMinutes: 1
steps:
- checkout: self
clean: true
fetchTags: false
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
2024-09-12 19:36:18 +00:00
- task: NuGetAuthenticate@1
displayName: 'NuGet Auth'
2022-12-08 02:09:41 +00:00
- task: NuGetCommand@2
displayName: NuGet restore
inputs:
solution: UVAtlas_2019_Win10.sln
feedRestore: $(GUID_FEED)
includeNuGetOrg: false
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln 32dbg
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64
platform: x86
configuration: Debug
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln 32rel
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64
platform: x86
configuration: Release
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln 64dbg
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64
platform: x64
configuration: Debug
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln 64rel
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64
platform: x64
configuration: Release
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln arm64dbg
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64
platform: ARM64
configuration: Debug
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln arm64rel
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64
platform: ARM64
configuration: Release
- job: DESKTOP_BUILD_SPECTRE
displayName: 'Win32 Desktop (Spectre-mitigated)'
timeoutInMinutes: 60
cancelTimeoutInMinutes: 1
steps:
- checkout: self
clean: true
fetchTags: false
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
2024-09-12 19:36:18 +00:00
- task: NuGetAuthenticate@1
displayName: 'NuGet Auth'
2022-12-08 02:09:41 +00:00
- task: NuGetCommand@2
displayName: NuGet restore
inputs:
solution: UVAtlas_2019_Win10.sln
feedRestore: $(GUID_FEED)
includeNuGetOrg: false
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln 32dbg
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
platform: x86
configuration: Debug
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln 32rel
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
platform: x86
configuration: Release
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln 64dbg
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
platform: x64
configuration: Debug
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln 64rel
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
platform: x64
configuration: Release
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln arm64dbg
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
platform: ARM64
configuration: Debug
- task: VSBuild@1
displayName: Build solution UVAtlas_2019_Win10.sln arm64rel
inputs:
solution: UVAtlas_2019_Win10.sln
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
platform: ARM64
configuration: Release