mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-15 00:26:13 +01:00
VS 2026 projects (#669)
Some checks failed
CMake (WSL) / build (x64-Debug-Linux, 12) (push) Failing after 7s
CMake (WSL) / build (x64-Debug-Linux, 13) (push) Failing after 6s
CMake (WSL) / build (x64-Debug-Linux, 14) (push) Failing after 7s
CMake (WSL) / build (x64-Release-Linux, 12) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 13) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 14) (push) Failing after 6s
CTest (Windows) / build (amd64_arm64, arm64ec-Release, 14) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, 14) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, 14.29) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, 14) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, 14.29) (push) Has been cancelled
CMake (Windows on ARM64) / build (arm64-Debug) (push) Has been cancelled
CMake (Windows on ARM64) / build (arm64-Debug-UWP) (push) Has been cancelled
CMake (Windows on ARM64) / build (arm64-Release) (push) Has been cancelled
CMake (Windows on ARM64) / build (arm64-Release-UWP) (push) Has been cancelled
BVTs (arm64) / build (arm64-Release) (push) Has been cancelled
BVTs (x64) / build (amd64, x64-Release, 14) (push) Has been cancelled
BVTs (x64) / build (amd64, x64-Release, 14.29) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64_arm64, arm64-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64, x64-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64, x64-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64_arm64, arm64-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64_arm64, arm64-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64_x86, x86-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64_x86, x86-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64, x64-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64, x64-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64_arm64, arm64-Debug-Clang) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, 14) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, 14.29) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, 14) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64_x86, x86-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64_x86, x86-Release-Clang) (push) Has been cancelled
CodeQL / Analyze (C/C++) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug, 14) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug, 14.29) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug-Win8, 14) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release, 14.29) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Debug, 14) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release, 14) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release-Win8, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Release, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64ec-Debug, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64ec-Release, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Debug, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Debug, 14.29) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release, 14.29) (push) Has been cancelled
CMake (Windows) / build2026 (amd64, x64-Debug) (push) Has been cancelled
CMake (Windows) / build2026 (amd64, x64-Release) (push) Has been cancelled
CMake (Windows) / build2026 (amd64_arm64, arm64-Debug) (push) Has been cancelled
CMake (Windows) / build2026 (amd64_arm64, arm64-Release) (push) Has been cancelled
CMake (Windows) / build2026 (amd64_x86, x86-Debug) (push) Has been cancelled
CMake (Windows) / build2026 (amd64_x86, x86-Release) (push) Has been cancelled
MSBuild / build (Debug, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Debug, x64, 2019) (push) Has been cancelled
MSBuild / build (Debug, x64, 2022) (push) Has been cancelled
MSBuild / build (Debug, x86, 2019) (push) Has been cancelled
MSBuild / build (Debug, x86, 2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, 14.29) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Debug, 14) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Release, 14) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Release, x64, 2019) (push) Has been cancelled
MSBuild / build (Release, x64, 2022) (push) Has been cancelled
MSBuild / build (Release, x86, 2019) (push) Has been cancelled
MSBuild / build (Release, x86, 2022) (push) Has been cancelled
MSBuild / build2026 (Debug, ARM64) (push) Has been cancelled
MSBuild / build2026 (Debug, x64) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Debug, 14) (push) Has been cancelled
MSBuild / build2026 (Debug, x86) (push) Has been cancelled
MSBuild / build2026 (Release, ARM64) (push) Has been cancelled
MSBuild / build2026 (Release, x64) (push) Has been cancelled
MSBuild / build2026 (Release, x86) (push) Has been cancelled
Microsoft C++ Code Analysis / Analyze (push) Has been cancelled
CTest (Windows) / build2026 (amd64, x64-Debug) (push) Has been cancelled
CTest (Windows) / build2026 (amd64, x64-Release) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_arm64, arm64-Debug) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_arm64, arm64-Release) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_arm64, arm64ec-Debug) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_arm64, arm64ec-Release) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_x86, x86-Debug) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_x86, x86-Release) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Debug-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Debug-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Release-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Release-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Debug-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Debug-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Release-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Release-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Debug-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Debug-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Release-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Release-UWP-Clang) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-Clang-VCPKG, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-MinGW, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-MinGW, ON, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, OFF, 14.29) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Release-MinGW, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Release-MinGW, ON, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64-Debug-VCPKG, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64ec-Debug-VCPKG, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_x86, x86-Debug-VCPKG, OFF, 14) (push) Has been cancelled
Some checks failed
CMake (WSL) / build (x64-Debug-Linux, 12) (push) Failing after 7s
CMake (WSL) / build (x64-Debug-Linux, 13) (push) Failing after 6s
CMake (WSL) / build (x64-Debug-Linux, 14) (push) Failing after 7s
CMake (WSL) / build (x64-Release-Linux, 12) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 13) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 14) (push) Failing after 6s
CTest (Windows) / build (amd64_arm64, arm64ec-Release, 14) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, 14) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, 14.29) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, 14) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, 14.29) (push) Has been cancelled
CMake (Windows on ARM64) / build (arm64-Debug) (push) Has been cancelled
CMake (Windows on ARM64) / build (arm64-Debug-UWP) (push) Has been cancelled
CMake (Windows on ARM64) / build (arm64-Release) (push) Has been cancelled
CMake (Windows on ARM64) / build (arm64-Release-UWP) (push) Has been cancelled
BVTs (arm64) / build (arm64-Release) (push) Has been cancelled
BVTs (x64) / build (amd64, x64-Release, 14) (push) Has been cancelled
BVTs (x64) / build (amd64, x64-Release, 14.29) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64_arm64, arm64-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64, x64-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64, x64-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64_arm64, arm64-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64_arm64, arm64-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64_x86, x86-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build (amd64_x86, x86-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64, x64-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64, x64-Release-Clang) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64_arm64, arm64-Debug-Clang) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, 14) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, 14.29) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, 14) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64_x86, x86-Debug-Clang) (push) Has been cancelled
CMake (clang-cl) / build2026 (amd64_x86, x86-Release-Clang) (push) Has been cancelled
CodeQL / Analyze (C/C++) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug, 14) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug, 14.29) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug-Win8, 14) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release, 14.29) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Debug, 14) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release, 14) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release-Win8, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Release, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64ec-Debug, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64ec-Release, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Debug, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Debug, 14.29) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release, 14) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release, 14.29) (push) Has been cancelled
CMake (Windows) / build2026 (amd64, x64-Debug) (push) Has been cancelled
CMake (Windows) / build2026 (amd64, x64-Release) (push) Has been cancelled
CMake (Windows) / build2026 (amd64_arm64, arm64-Debug) (push) Has been cancelled
CMake (Windows) / build2026 (amd64_arm64, arm64-Release) (push) Has been cancelled
CMake (Windows) / build2026 (amd64_x86, x86-Debug) (push) Has been cancelled
CMake (Windows) / build2026 (amd64_x86, x86-Release) (push) Has been cancelled
MSBuild / build (Debug, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Debug, x64, 2019) (push) Has been cancelled
MSBuild / build (Debug, x64, 2022) (push) Has been cancelled
MSBuild / build (Debug, x86, 2019) (push) Has been cancelled
MSBuild / build (Debug, x86, 2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, 14.29) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Debug, 14) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Release, 14) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Release, x64, 2019) (push) Has been cancelled
MSBuild / build (Release, x64, 2022) (push) Has been cancelled
MSBuild / build (Release, x86, 2019) (push) Has been cancelled
MSBuild / build (Release, x86, 2022) (push) Has been cancelled
MSBuild / build2026 (Debug, ARM64) (push) Has been cancelled
MSBuild / build2026 (Debug, x64) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Debug, 14) (push) Has been cancelled
MSBuild / build2026 (Debug, x86) (push) Has been cancelled
MSBuild / build2026 (Release, ARM64) (push) Has been cancelled
MSBuild / build2026 (Release, x64) (push) Has been cancelled
MSBuild / build2026 (Release, x86) (push) Has been cancelled
Microsoft C++ Code Analysis / Analyze (push) Has been cancelled
CTest (Windows) / build2026 (amd64, x64-Debug) (push) Has been cancelled
CTest (Windows) / build2026 (amd64, x64-Release) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_arm64, arm64-Debug) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_arm64, arm64-Release) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_arm64, arm64ec-Debug) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_arm64, arm64ec-Release) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_x86, x86-Debug) (push) Has been cancelled
CTest (Windows) / build2026 (amd64_x86, x86-Release) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Debug-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Debug-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Release-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64, x64-Release-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Debug-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Debug-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Release-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Release-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Debug-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Debug-UWP-Clang) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Release-UWP) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Release-UWP-Clang) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-Clang-VCPKG, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-MinGW, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-MinGW, ON, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, OFF, 14.29) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Release-MinGW, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Release-MinGW, ON, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64-Debug-VCPKG, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64ec-Debug-VCPKG, OFF, 14) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_x86, x86-Debug-VCPKG, OFF, 14) (push) Has been cancelled
This commit is contained in:
@@ -48,75 +48,6 @@ variables:
|
||||
value: $(ADOFeedGUID)
|
||||
|
||||
jobs:
|
||||
- job: DESKTOP_BUILD
|
||||
displayName: 'Windows Desktop'
|
||||
timeoutInMinutes: 120
|
||||
cancelTimeoutInMinutes: 1
|
||||
strategy:
|
||||
maxParallel: 3
|
||||
matrix:
|
||||
Release_arm64:
|
||||
BuildPlatform: ARM64
|
||||
BuildConfiguration: Release
|
||||
Debug_arm64:
|
||||
BuildPlatform: ARM64
|
||||
BuildConfiguration: Debug
|
||||
Release_x64:
|
||||
BuildPlatform: x64
|
||||
BuildConfiguration: Release
|
||||
Debug_x64:
|
||||
BuildPlatform: x64
|
||||
BuildConfiguration: Debug
|
||||
Release_x86:
|
||||
BuildPlatform: x86
|
||||
BuildConfiguration: Release
|
||||
Debug_x86:
|
||||
BuildPlatform: x86
|
||||
BuildConfiguration: Debug
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's'
|
||||
- checkout: testRepo
|
||||
displayName: Fetch Tests
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's/Tests'
|
||||
- task: NuGetToolInstaller@1
|
||||
displayName: 'Use NuGet'
|
||||
- task: NuGetCommand@2
|
||||
displayName: NuGet restore tests
|
||||
inputs:
|
||||
solution: Tests/DirectXTex_Tests_Desktop_2022.sln
|
||||
feedRestore: $(GUID_FEED)
|
||||
includeNuGetOrg: false
|
||||
- task: MSBuild@1
|
||||
displayName: Log Information
|
||||
inputs:
|
||||
solution: build/LogInfo.targets
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution DirectXTex_Tests_Desktop_2022.sln
|
||||
inputs:
|
||||
solution: Tests/DirectXTex_Tests_Desktop_2022.sln
|
||||
msbuildArgs: /p:PreferredToolArchitecture=x64
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
msbuildArchitecture: x64
|
||||
condition: ne(variables['BuildPlatform'], 'ARM64')
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution DirectXTex_Tests_Desktop_2022_Win10.sln
|
||||
inputs:
|
||||
solution: Tests/DirectXTex_Tests_Desktop_2022_Win10.sln
|
||||
msbuildArgs: /p:PreferredToolArchitecture=x64
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
msbuildArchitecture: x64
|
||||
|
||||
- job: CMAKE_BUILD_X64
|
||||
displayName: 'CMake for X64 BUILD_TESTING=ON'
|
||||
timeoutInMinutes: 120
|
||||
|
||||
@@ -1,107 +0,0 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
#
|
||||
# https://go.microsoft.com/fwlink/?LinkId=248926
|
||||
|
||||
# Builds the library and test suite.
|
||||
|
||||
schedules:
|
||||
- cron: "30 3 * * *"
|
||||
displayName: 'Nightly build'
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
|
||||
# GitHub Actions handles test suite for CI/PR
|
||||
trigger: none
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
paths:
|
||||
include:
|
||||
- '.azuredevops/pipelines/DirectXTex-GitHub-Test.yml'
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
- repository: self
|
||||
type: git
|
||||
ref: refs/heads/main
|
||||
- repository: testRepo
|
||||
name: walbourn/directxtextest
|
||||
type: github
|
||||
endpoint: microsoft
|
||||
ref: refs/heads/main
|
||||
|
||||
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
|
||||
|
||||
pool:
|
||||
vmImage: windows-2022
|
||||
|
||||
variables:
|
||||
- group: dxtex-shared-variables
|
||||
- name: Codeql.Enabled
|
||||
value: false
|
||||
- name: GUID_FEED
|
||||
value: $(ADOFeedGUID)
|
||||
|
||||
jobs:
|
||||
- job: DESKTOP_BUILD
|
||||
displayName: 'Windows Desktop'
|
||||
timeoutInMinutes: 120
|
||||
cancelTimeoutInMinutes: 1
|
||||
strategy:
|
||||
maxParallel: 2
|
||||
matrix:
|
||||
Release_x64:
|
||||
BuildPlatform: x64
|
||||
BuildConfiguration: Release
|
||||
Debug_x64:
|
||||
BuildPlatform: x64
|
||||
BuildConfiguration: Debug
|
||||
Release_x86:
|
||||
BuildPlatform: x86
|
||||
BuildConfiguration: Release
|
||||
Debug_x86:
|
||||
BuildPlatform: x86
|
||||
BuildConfiguration: Debug
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's'
|
||||
- checkout: testRepo
|
||||
displayName: Fetch Tests
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's/Tests'
|
||||
- task: NuGetToolInstaller@1
|
||||
displayName: 'Use NuGet'
|
||||
- task: NuGetCommand@2
|
||||
displayName: NuGet restore tests
|
||||
inputs:
|
||||
solution: Tests/DirectXTex_Tests_Desktop_2019.sln
|
||||
feedRestore: $(GUID_FEED)
|
||||
includeNuGetOrg: false
|
||||
- task: MSBuild@1
|
||||
displayName: Log Information
|
||||
inputs:
|
||||
solution: build/LogInfo.targets
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution DirectXTex_Tests_Desktop_2019.sln
|
||||
inputs:
|
||||
solution: Tests/DirectXTex_Tests_Desktop_2019.sln
|
||||
msbuildArgs: /p:PreferredToolArchitecture=x64
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution DirectXTex_Tests_Desktop_2019_Win10.sln
|
||||
inputs:
|
||||
solution: Tests/DirectXTex_Tests_Desktop_2019_Win10.sln
|
||||
msbuildArgs: /p:PreferredToolArchitecture=x64
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
@@ -1,267 +0,0 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
#
|
||||
# https://go.microsoft.com/fwlink/?LinkId=248926
|
||||
|
||||
# Builds the library for Windows Subsystem for Linux (WSL)
|
||||
|
||||
schedules:
|
||||
- cron: "0 3 * * *"
|
||||
displayName: 'Nightly build'
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
|
||||
trigger: none
|
||||
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
paths:
|
||||
include:
|
||||
- '.azuredevops/pipelines/DirectXTex-GitHub-WSL-13.yml'
|
||||
- CMake*
|
||||
- build/*.cmake
|
||||
- build/*.in
|
||||
- Auxiliary/*EXR*
|
||||
- Auxiliary/*JPEG*
|
||||
- Auxiliary/*PNG*
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
- repository: self
|
||||
type: git
|
||||
ref: refs/heads/main
|
||||
trigger: none
|
||||
- repository: dxHeadersRepo
|
||||
name: Microsoft/DirectX-Headers
|
||||
type: github
|
||||
endpoint: microsoft
|
||||
ref: refs/heads/main
|
||||
- repository: dxMathRepo
|
||||
name: Microsoft/DirectXMath
|
||||
type: github
|
||||
endpoint: microsoft
|
||||
ref: refs/heads/main
|
||||
- repository: vcpkgRepo
|
||||
name: Microsoft/vcpkg
|
||||
type: github
|
||||
endpoint: microsoft
|
||||
ref: refs/tags/$(VCPKG_TAG)
|
||||
|
||||
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-24.04
|
||||
|
||||
variables:
|
||||
- group: dxtex-shared-variables
|
||||
- name: Codeql.Enabled
|
||||
value: false
|
||||
- name: VCPKG_ROOT
|
||||
value: '$(Build.SourcesDirectory)/vcpkg'
|
||||
- name: VCPKG_CMAKE_DIR
|
||||
value: '$(Build.SourcesDirectory)/vcpkg/scripts/buildsystems/vcpkg.cmake'
|
||||
- name: VCPKG_MANIFEST_DIR
|
||||
value: '$(Build.SourcesDirectory)/build'
|
||||
- name: LOCAL_PKG_DIR
|
||||
value: '$(Agent.BuildDirectory)/install/'
|
||||
- name: SAL_URL
|
||||
value: https://raw.githubusercontent.com/dotnet/runtime/v8.0.1/src/coreclr/pal/inc/rt/sal.h
|
||||
- name: SAL_HASH
|
||||
value: 0f5a80b97564217db2ba3e4624cc9eb308e19cc9911dae21d983c4ab37003f4756473297ba81b386c498514cedc1ef5a3553d7002edc09aeb6a1335df973095f
|
||||
|
||||
jobs:
|
||||
- job: BUILD_WSL
|
||||
displayName: 'Windows Subsystem for Linux (WSL)'
|
||||
timeoutInMinutes: 120
|
||||
cancelTimeoutInMinutes: 1
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's'
|
||||
- checkout: dxHeadersRepo
|
||||
displayName: Fetch DirectX-Headers
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's/DirectX-Headers'
|
||||
- checkout: dxMathRepo
|
||||
displayName: Fetch DirectX-Math
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's/DirectXMath'
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectX-Headers
|
||||
inputs:
|
||||
cwd: DirectX-Headers
|
||||
cmakeArgs: >
|
||||
. -DDXHEADERS_BUILD_TEST=OFF -DDXHEADERS_BUILD_GOOGLE_TEST=OFF
|
||||
-DCMAKE_INSTALL_PREFIX=$(LOCAL_PKG_DIR)
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectX-Headers (Build)
|
||||
inputs:
|
||||
cwd: DirectX-Headers
|
||||
cmakeArgs: --build . -v
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectX-Headers (Install)
|
||||
inputs:
|
||||
cwd: DirectX-Headers
|
||||
cmakeArgs: --install .
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXMath
|
||||
inputs:
|
||||
cwd: DirectXMath
|
||||
cmakeArgs: . -DCMAKE_INSTALL_PREFIX=$(LOCAL_PKG_DIR)
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXMath (Build)
|
||||
inputs:
|
||||
cwd: DirectXMath
|
||||
cmakeArgs: --build . -v
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXMath (Install)
|
||||
inputs:
|
||||
cwd: DirectXMath
|
||||
cmakeArgs: --install .
|
||||
- task: PowerShell@2
|
||||
displayName: Fetch SAL.H
|
||||
inputs:
|
||||
targetType: inline
|
||||
script: |
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
Invoke-WebRequest -Uri "$(SAL_URL)" -OutFile $(LOCAL_PKG_DIR)/include/sal.h
|
||||
$fileHash = Get-FileHash -Algorithm SHA512 $(LOCAL_PKG_DIR)/include/sal.h | ForEach { $_.Hash} | Out-String
|
||||
$filehash = $fileHash.Trim()
|
||||
Write-Host "##[debug]SHA512: " $filehash
|
||||
if ($fileHash -ne "$(SAL_HASH)") {
|
||||
Write-Error -Message "##[error]Computed hash does not match!" -ErrorAction Stop
|
||||
}
|
||||
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Config) dbg
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: >
|
||||
-B out -DCMAKE_BUILD_TYPE=Debug
|
||||
-DCMAKE_PREFIX_PATH=$(LOCAL_PKG_DIR)/share;$(LOCAL_PKG_DIR)/cmake
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Build) dbg
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: --build out -v
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Config) rel
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: >
|
||||
-B out2 -DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_PREFIX_PATH=$(LOCAL_PKG_DIR)/share;$(LOCAL_PKG_DIR)/cmake
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Build) rel
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: --build out2 -v
|
||||
|
||||
- job: BUILD_WSL_VCPKG
|
||||
displayName: 'Windows Subsystem for Linux (WSL) using VCPKG'
|
||||
timeoutInMinutes: 120
|
||||
cancelTimeoutInMinutes: 1
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's'
|
||||
- checkout: vcpkgRepo
|
||||
displayName: Fetch VCPKG
|
||||
clean: true
|
||||
fetchTags: false
|
||||
fetchDepth: 1
|
||||
path: 's/vcpkg'
|
||||
- task: Bash@3
|
||||
displayName: VCPKG Bootstrap
|
||||
inputs:
|
||||
targetType: filePath
|
||||
filePath: $(Build.SourcesDirectory)/vcpkg/bootstrap-vcpkg.sh
|
||||
workingDirectory: $(Build.SourcesDirectory)/vcpkg
|
||||
- task: CmdLine@2
|
||||
displayName: GCC and CMake version
|
||||
inputs:
|
||||
script: |
|
||||
g++ --version
|
||||
cmake --version
|
||||
|
||||
- task: CmdLine@2
|
||||
displayName: VCPKG install packages
|
||||
inputs:
|
||||
script: vcpkg install --x-manifest-root=$(VCPKG_MANIFEST_DIR) --triplet=x64-linux
|
||||
workingDirectory: $(VCPKG_ROOT)
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Config) dbg
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: >
|
||||
-B out -DCMAKE_BUILD_TYPE=Debug -DDIRECTX_ARCH=x64
|
||||
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)"
|
||||
-DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-linux
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Build) dbg
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: --build out -v
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Config) rel
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: >
|
||||
-B out2 -DCMAKE_BUILD_TYPE=Release -DDIRECTX_ARCH=x64
|
||||
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)"
|
||||
-DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-linux
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Build) rel
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: --build out2 -v
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Config) w/ OpenEXR
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: >
|
||||
-B out3 -DCMAKE_BUILD_TYPE=Debug -DENABLE_OPENEXR_SUPPORT=ON -DDIRECTX_ARCH=x64
|
||||
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)"
|
||||
-DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-linux
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Build) w/ OpenEXR
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: --build out3 -v
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Config) w/ libjpeg
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: >
|
||||
-B out4 -DCMAKE_BUILD_TYPE=Debug -DENABLE_LIBJPEG_SUPPORT=ON -DDIRECTX_ARCH=x64
|
||||
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)"
|
||||
-DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-linux
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Build) w/ libjpeg
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: --build out4 -v
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Config) w/ libpng
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: >
|
||||
-B out5 -DCMAKE_BUILD_TYPE=Debug -DENABLE_LIBPNG_SUPPORT=ON -DDIRECTX_ARCH=x64
|
||||
-DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)"
|
||||
-DVCPKG_MANIFEST_DIR="$(VCPKG_MANIFEST_DIR)" -DVCPKG_TARGET_TRIPLET=x64-linux
|
||||
- task: CMake@1
|
||||
displayName: CMake DirectXTex (Build) w/ libpng
|
||||
inputs:
|
||||
cwd: $(Build.SourcesDirectory)
|
||||
cmakeArgs: --build out5 -v
|
||||
@@ -1,88 +0,0 @@
|
||||
# Copyright (c) Microsoft Corporation.
|
||||
# Licensed under the MIT License.
|
||||
#
|
||||
# http://go.microsoft.com/fwlink/?LinkId=248926
|
||||
|
||||
# Builds the library for Windows Desktop.
|
||||
|
||||
schedules:
|
||||
- cron: "5 3 * * *"
|
||||
displayName: 'Nightly build'
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
|
||||
# GitHub Actions handles MSBuild for CI/PR
|
||||
trigger: none
|
||||
pr:
|
||||
branches:
|
||||
include:
|
||||
- main
|
||||
paths:
|
||||
include:
|
||||
- '.azuredevops/pipelines/DirectXTex-GitHub.yml'
|
||||
- DirectXTex/Shaders/CompileShaders.cmd
|
||||
|
||||
resources:
|
||||
repositories:
|
||||
- repository: self
|
||||
type: git
|
||||
ref: refs/heads/main
|
||||
|
||||
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)
|
||||
|
||||
variables:
|
||||
Codeql.Enabled: false
|
||||
|
||||
pool:
|
||||
vmImage: windows-2022
|
||||
|
||||
jobs:
|
||||
- job: DESKTOP_BUILD
|
||||
displayName: 'Windows Desktop'
|
||||
timeoutInMinutes: 120
|
||||
cancelTimeoutInMinutes: 1
|
||||
strategy:
|
||||
maxParallel: 2
|
||||
matrix:
|
||||
Release_x64:
|
||||
BuildPlatform: x64
|
||||
BuildConfiguration: Release
|
||||
SpectreMitigation: false
|
||||
Debug_x64:
|
||||
BuildPlatform: x64
|
||||
BuildConfiguration: Debug
|
||||
SpectreMitigation: false
|
||||
Release_x86:
|
||||
BuildPlatform: x86
|
||||
BuildConfiguration: Release
|
||||
SpectreMitigation: false
|
||||
Debug_x86:
|
||||
BuildPlatform: x86
|
||||
BuildConfiguration: Debug
|
||||
SpectreMitigation: false
|
||||
# windows-2022 image is missing v142 spectre-mitigated libraries
|
||||
steps:
|
||||
- checkout: self
|
||||
clean: true
|
||||
fetchTags: false
|
||||
- task: MSBuild@1
|
||||
displayName: Log Information
|
||||
inputs:
|
||||
solution: build/LogInfo.targets
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution DirectXTex_Desktop_2019.sln
|
||||
inputs:
|
||||
solution: DirectXTex_Desktop_2019.sln
|
||||
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=$(SpectreMitigation)
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
- task: VSBuild@1
|
||||
displayName: Build solution DirectXTex_Desktop_2019_Win10.sln
|
||||
inputs:
|
||||
solution: DirectXTex_Desktop_2019_Win10.sln
|
||||
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:SpectreMitigation=$(SpectreMitigation)
|
||||
platform: '$(BuildPlatform)'
|
||||
configuration: '$(BuildConfiguration)'
|
||||
Reference in New Issue
Block a user