mirror of
https://github.com/microsoft/UVAtlas
synced 2024-11-08 21:30:05 +00:00
132 lines
3.2 KiB
YAML
132 lines
3.2 KiB
YAML
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
#
|
|
# https://go.microsoft.com/fwlink/?LinkID=512686
|
|
|
|
# Builds the library and test suite.
|
|
|
|
schedules:
|
|
- cron: "30 6 * * *"
|
|
displayName: 'Nightly build'
|
|
branches:
|
|
include:
|
|
- main
|
|
|
|
# GitHub Actions handles test suite for CI/PR
|
|
trigger: none
|
|
pr:
|
|
branches:
|
|
include:
|
|
- main
|
|
paths:
|
|
include:
|
|
- build/UVAtlas-GitHub-Test.yml
|
|
|
|
resources:
|
|
repositories:
|
|
- repository: self
|
|
type: git
|
|
ref: refs/heads/main
|
|
- repository: dxMeshRepo
|
|
name: Microsoft/DirectXMesh
|
|
type: github
|
|
endpoint: microsoft
|
|
ref: refs/heads/main
|
|
- repository: dxTexRepo
|
|
name: Microsoft/DirectXTex
|
|
type: github
|
|
endpoint: microsoft
|
|
ref: refs/heads/main
|
|
- repository: testRepo
|
|
name: walbourn/uvatlastest
|
|
type: github
|
|
endpoint: microsoft
|
|
ref: refs/heads/main
|
|
|
|
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
|
|
|
|
pool:
|
|
vmImage: windows-2019
|
|
|
|
variables:
|
|
Codeql.Enabled: false
|
|
|
|
jobs:
|
|
- job: DESKTOP_BUILD
|
|
displayName: 'Win32 Desktop'
|
|
timeoutInMinutes: 60
|
|
cancelTimeoutInMinutes: 1
|
|
workspace:
|
|
clean: all
|
|
steps:
|
|
- checkout: self
|
|
clean: true
|
|
fetchTags: false
|
|
path: 's/UVAtlas'
|
|
- checkout: dxMeshRepo
|
|
displayName: Fetch DirectXMesh
|
|
clean: true
|
|
fetchTags: false
|
|
fetchDepth: 1
|
|
path: 's/DirectXMesh'
|
|
- checkout: dxTexRepo
|
|
displayName: Fetch DirectXTex
|
|
clean: true
|
|
fetchTags: false
|
|
fetchDepth: 1
|
|
path: 's/DirectXTex'
|
|
- checkout: testRepo
|
|
displayName: Fetch Tests
|
|
clean: true
|
|
fetchTags: false
|
|
fetchDepth: 1
|
|
path: 's/UVAtlas/Tests'
|
|
- task: VSBuild@1
|
|
displayName: Build solution xtuvatlas_Desktop_2019.sln 32dbg
|
|
inputs:
|
|
solution: UVAtlas/Tests/xtuvatlas_Desktop_2019.sln
|
|
vsVersion: 16.0
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
platform: x86
|
|
configuration: Debug
|
|
- task: VSBuild@1
|
|
displayName: Build solutionxtuvatlas_Desktop_2019.sln 32rel
|
|
inputs:
|
|
solution: UVAtlas/Tests/xtuvatlas_Desktop_2019.sln
|
|
vsVersion: 16.0
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
platform: x86
|
|
configuration: Release
|
|
- task: VSBuild@1
|
|
displayName: Build solution xtuvatlas_Desktop_2019.sln 64dbg
|
|
inputs:
|
|
solution: UVAtlas/Tests/xtuvatlas_Desktop_2019.sln
|
|
vsVersion: 16.0
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
platform: x64
|
|
configuration: Debug
|
|
- task: VSBuild@1
|
|
displayName: Build solution xtuvatlas_Desktop_2019.sln 64rel
|
|
inputs:
|
|
solution: UVAtlas/Tests/xtuvatlas_Desktop_2019.sln
|
|
vsVersion: 16.0
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
platform: x64
|
|
configuration: Release
|
|
- task: VSBuild@1
|
|
displayName: Build solution xtuvatlas_Desktop_2019.sln arm64dbg
|
|
inputs:
|
|
solution: UVAtlas/Tests/xtuvatlas_Desktop_2019.sln
|
|
vsVersion: 16.0
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
platform: ARM64
|
|
configuration: Debug
|
|
- task: VSBuild@1
|
|
displayName: Build solution xtuvatlas_Desktop_2019.sln arm64rel
|
|
inputs:
|
|
solution: UVAtlas/Tests/xtuvatlas_Desktop_2019.sln
|
|
vsVersion: 16.0
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
platform: ARM64
|
|
configuration: Release
|