2022-12-05 02:22:15 +00:00
|
|
|
# Copyright (c) Microsoft Corporation.
|
|
|
|
# Licensed under the MIT License.
|
|
|
|
#
|
|
|
|
# http://go.microsoft.com/fwlink/?LinkId=248926
|
|
|
|
|
|
|
|
# Builds the library for Windows Desktop and UWP.
|
|
|
|
|
|
|
|
schedules:
|
|
|
|
- cron: "0 3 * * *"
|
|
|
|
displayName: 'Nightly build'
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- main
|
|
|
|
|
2023-02-10 02:47:03 +00:00
|
|
|
trigger: none
|
2024-04-05 21:37:53 +00:00
|
|
|
|
|
|
|
pr:
|
|
|
|
branches:
|
|
|
|
include:
|
|
|
|
- main
|
|
|
|
paths:
|
|
|
|
include:
|
|
|
|
- build/DirectXTex-GitHub-Dev17.yml
|
2023-02-10 02:47:03 +00:00
|
|
|
|
2022-12-05 02:22:15 +00:00
|
|
|
resources:
|
|
|
|
repositories:
|
|
|
|
- repository: self
|
|
|
|
type: git
|
|
|
|
ref: refs/heads/main
|
2024-04-05 21:37:53 +00:00
|
|
|
trigger: none
|
2022-12-05 02:22:15 +00:00
|
|
|
|
|
|
|
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
|
|
|
|
|
2024-05-14 19:18:03 +00:00
|
|
|
variables:
|
|
|
|
Codeql.Enabled: false
|
|
|
|
|
2022-12-05 02:22:15 +00:00
|
|
|
pool:
|
|
|
|
vmImage: windows-2022
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
- job: DESKTOP_BUILD
|
|
|
|
displayName: 'Win32 Desktop'
|
|
|
|
timeoutInMinutes: 120
|
|
|
|
cancelTimeoutInMinutes: 1
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
clean: true
|
|
|
|
fetchTags: false
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022.sln 32dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x86
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022.sln 32rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x86
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022.sln 64dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x64
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022.sln 64rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x64
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln 32dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x86
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln 32rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x86
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln 64dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x64
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln 64rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x64
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln arm64dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: ARM64
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln arm64rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: ARM64
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
|
2022-12-06 19:43:45 +00:00
|
|
|
- job: DESKTOP_BUILD_SPECTRE
|
|
|
|
displayName: 'Win32 Desktop (Spectre-mitigated)'
|
|
|
|
timeoutInMinutes: 120
|
|
|
|
cancelTimeoutInMinutes: 1
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
clean: true
|
|
|
|
fetchTags: false
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022.sln 32dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: x86
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022.sln 32rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: x86
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022.sln 64dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: x64
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022.sln 64rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: x64
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln 32dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: x86
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln 32rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: x86
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln 64dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: x64
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln 64rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: x64
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln arm64dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: ARM64
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Desktop_2022_Win10.sln arm64rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Desktop_2022_Win10.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=Spectre
|
|
|
|
platform: ARM64
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
|
2022-12-05 02:22:15 +00:00
|
|
|
- job: UWP_BUILD
|
|
|
|
displayName: 'Universal Windows Platform (UWP)'
|
|
|
|
timeoutInMinutes: 120
|
|
|
|
cancelTimeoutInMinutes: 1
|
|
|
|
steps:
|
|
|
|
- checkout: self
|
|
|
|
clean: true
|
|
|
|
fetchTags: false
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Windows10_2022.sln 32dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Windows10_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x86
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Windows10_2022.sln 32rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Windows10_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x86
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Windows10_2022.sln 64dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Windows10_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x64
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Windows10_2022.sln 64rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Windows10_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: x64
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Windows10_2022.sln arm64dbg
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Windows10_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: ARM64
|
|
|
|
configuration: Debug
|
|
|
|
msbuildArchitecture: x64
|
|
|
|
- task: VSBuild@1
|
|
|
|
displayName: Build solution DirectXTex_Windows10_2022.sln arm64rel
|
|
|
|
inputs:
|
|
|
|
solution: DirectXTex_Windows10_2022.sln
|
|
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
|
|
platform: ARM64
|
|
|
|
configuration: Release
|
|
|
|
msbuildArchitecture: x64
|