mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 03:30:13 +02:00
Some checks failed
CMake (WSL) / build (x64-Debug-Linux, 14) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 13) (push) Failing after 6s
CMake (WSL) / build (x64-Debug-Linux, 12) (push) Failing after 8s
CMake (WSL) / build (x64-Debug-Linux, 13) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 12) (push) Failing after 6s
CMake (WSL) / build (x64-Release-Linux, 14) (push) Failing after 5s
CMake (Windows) / build (amd64_x86, x86-Debug, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release, windows-2019) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Release-Clang, windows-2022) (push) Has been cancelled
MSBuild / build (Debug, ARM64, 2019) (push) Has been cancelled
MSBuild / build (Debug, ARM64, 2022) (push) Has been cancelled
MSBuild / build (Debug, x64, 2019) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug, windows-2019) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Debug-Win8, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release, windows-2019) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64, x64-Release-Win8, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Debug, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Debug-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Release, windows-2022) (push) Has been cancelled
MSBuild / build (Debug, x64, 2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64-Release-Clang, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64ec-Debug, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_arm64, arm64ec-Release, windows-2022) (push) Has been cancelled
CMake (Windows) / build (amd64_x86, x86-Debug, windows-2019) (push) Has been cancelled
MSBuild / build (Debug, x86, 2019) (push) Has been cancelled
MSBuild / build (Debug, x86, 2022) (push) Has been cancelled
CTest (BVTs) / build (amd64, x64-Release, windows-2019) (push) Has been cancelled
CTest (BVTs) / build (amd64, x64-Release, windows-2022) (push) Has been cancelled
CodeQL / Analyze (C/C++) (push) Has been cancelled
MSBuild / build (Release, ARM64, 2019) (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_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, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-MinGW, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-MinGW, windows-2022, ON) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2019, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Debug-VCPKG, windows-2022, OFF) (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
Microsoft C++ Code Analysis / Analyze (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Debug-UWP-Clang) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Debug-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, windows-2019) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Release-UWP) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64, x64-Release-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_arm64, arm64ec-Release, windows-2022) (push) Has been cancelled
CMake (UWP) / build (amd64_arm64, arm64-Release-UWP-Clang) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2019) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Debug-Clang, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, windows-2019) (push) Has been cancelled
CMake (UWP) / build (amd64_x86, x86-Debug-UWP) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release, windows-2022) (push) Has been cancelled
CTest (Windows) / build (amd64_x86, x86-Release-Clang, windows-2022) (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 (Windows using VCPKG) / build (amd64, x64-Release-MinGW, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64, x64-Release-MinGW, windows-2022, ON) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64-Debug-VCPKG, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_arm64, arm64ec-Debug-VCPKG, windows-2022, OFF) (push) Has been cancelled
CMake (Windows using VCPKG) / build (amd64_x86, x86-Debug-VCPKG, windows-2022, OFF) (push) Has been cancelled
301 lines
8.7 KiB
YAML
301 lines
8.7 KiB
YAML
# 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-Dev17.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:
|
|
Codeql.Enabled: false
|
|
VC_PATH: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC'
|
|
GUID_FEED: $(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: VSBuild@1
|
|
displayName: Build solution DirectXTex_Tests_Desktop_2022.sln
|
|
inputs:
|
|
solution: Tests/DirectXTex_Tests_Desktop_2022.sln
|
|
vsVersion: 17.0
|
|
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
|
|
vsVersion: 17.0
|
|
msbuildArgs: /p:PreferredToolArchitecture=x64
|
|
platform: '$(BuildPlatform)'
|
|
configuration: '$(BuildConfiguration)'
|
|
msbuildArchitecture: x64
|
|
|
|
- job: CMAKE_BUILD_X64
|
|
displayName: 'CMake for X64 BUILD_TESTING=ON'
|
|
timeoutInMinutes: 120
|
|
workspace:
|
|
clean: all
|
|
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: CmdLine@2
|
|
displayName: Setup environment for CMake to use VS
|
|
inputs:
|
|
script: |
|
|
call "$(VC_PATH)\Auxiliary\Build\vcvars64.bat"
|
|
echo ##vso[task.setvariable variable=WindowsSdkVerBinPath;]%WindowsSdkVerBinPath%
|
|
echo ##vso[task.prependpath]%VSINSTALLDIR%Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
|
|
echo ##vso[task.prependpath]%VCINSTALLDIR%Tools\Llvm\x64\bin
|
|
echo ##vso[task.prependpath]%WindowsSdkBinPath%x64
|
|
echo ##vso[task.prependpath]%WindowsSdkVerBinPath%x64
|
|
echo ##vso[task.prependpath]%VCToolsInstallDir%bin\Hostx64\x64
|
|
echo ##vso[task.setvariable variable=EXTERNAL_INCLUDE;]%EXTERNAL_INCLUDE%
|
|
echo ##vso[task.setvariable variable=INCLUDE;]%INCLUDE%
|
|
echo ##vso[task.setvariable variable=LIB;]%LIB%
|
|
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; x64-Debug) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=x64-Debug
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; x64-Debug) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/x64-Debug -v
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
Contents: 'out'
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; x64-Release) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=x64-Release
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; x64-Release) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/x64-Release -v
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
Contents: 'out'
|
|
- task: CMake@1
|
|
displayName: CMake (clang/LLVM; x64-Debug) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=x64-Debug-Clang
|
|
- task: CMake@1
|
|
displayName: CMake (clang/LLVM; x64-Debug) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/x64-Debug-Clang -v
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
Contents: 'out'
|
|
- task: CMake@1
|
|
displayName: CMake (clang/LLVM; x64-Release) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=x64-Release-Clang
|
|
- task: CMake@1
|
|
displayName: CMake (clang/LLVM; x64-Release) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/x64-Release-Clang -v
|
|
|
|
- job: CMAKE_BUILD_ARM64
|
|
displayName: 'CMake for ARM64 BUILD_TESTING=ON'
|
|
timeoutInMinutes: 120
|
|
workspace:
|
|
clean: all
|
|
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: CmdLine@2
|
|
displayName: Setup environment for CMake to use VS
|
|
inputs:
|
|
script: |
|
|
call "$(VC_PATH)\Auxiliary\Build\vcvarsamd64_arm64.bat"
|
|
echo ##vso[task.setvariable variable=WindowsSdkVerBinPath;]%WindowsSdkVerBinPath%
|
|
echo ##vso[task.prependpath]%VSINSTALLDIR%Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja
|
|
echo ##vso[task.prependpath]%VCINSTALLDIR%Tools\Llvm\x64\bin
|
|
echo ##vso[task.prependpath]%WindowsSdkBinPath%x64
|
|
echo ##vso[task.prependpath]%WindowsSdkVerBinPath%x64
|
|
echo ##vso[task.prependpath]%VCToolsInstallDir%bin\Hostx64\arm64
|
|
echo ##vso[task.setvariable variable=EXTERNAL_INCLUDE;]%EXTERNAL_INCLUDE%
|
|
echo ##vso[task.setvariable variable=INCLUDE;]%INCLUDE%
|
|
echo ##vso[task.setvariable variable=LIB;]%LIB%
|
|
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; arm64-Debug) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=arm64-Debug
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; arm64-Debug) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/arm64-Debug -v
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
Contents: 'out'
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; arm64-Release) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=arm64-Release
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; arm64-Release) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/arm64-Release -v
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
Contents: 'out'
|
|
- task: CMake@1
|
|
displayName: CMake (clang/LLVM; arm64-Debug) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=arm64-Debug-Clang
|
|
- task: CMake@1
|
|
displayName: CMake (clang/LLVM; arm64-Debug) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/arm64-Debug-Clang -v
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
Contents: 'out'
|
|
- task: CMake@1
|
|
displayName: CMake (clang/LLVM; arm64-Release) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=arm64-Release-Clang
|
|
- task: CMake@1
|
|
displayName: CMake (clang/LLVM; arm64-Release) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/arm64-Release-Clang -v
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
Contents: 'out'
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; arm64ec-Debug) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=arm64ec-Debug
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; arm64ec-Debug) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/arm64ec-Debug -v
|
|
- task: DeleteFiles@1
|
|
inputs:
|
|
Contents: 'out'
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; arm64ec-Release) Config
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --preset=arm64ec-Release
|
|
- task: CMake@1
|
|
displayName: CMake (MSVC; arm64ec-Release) Build
|
|
inputs:
|
|
cwd: '$(Build.SourcesDirectory)'
|
|
cmakeArgs: --build out/build/arm64ec-Release -v
|