This commit is contained in:
Chuck Walbourn 2022-12-04 13:32:03 -08:00
Родитель 6afb7d940f
Коммит 72b97b8d38
10 изменённых файлов: 62 добавлений и 80 удалений

Просмотреть файл

@ -3,7 +3,7 @@
#
# http://go.microsoft.com/fwlink/?LinkId=248929
# Builds the library and test suite using CMake.
# Builds the library using CMake.
schedules:
- cron: "0 4 * * *"
@ -41,7 +41,7 @@ jobs:
displayName: 'CMake (MSVC): Config x64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (MSVC): Build x64 Debug'
inputs:
@ -56,7 +56,7 @@ jobs:
displayName: 'CMake (MSVC): Config x86'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A Win32 -B out2 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A Win32 -B out2 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (MSVC): Build x86 Debug'
inputs:
@ -71,7 +71,7 @@ jobs:
displayName: 'CMake (MSVC): Config ARM64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out3 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out3 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (MSVC): Build ARM64 Debug'
inputs:
@ -86,7 +86,7 @@ jobs:
displayName: 'CMake (UWP): Config x64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out4 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 '
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out4 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0'
- task: CMake@1
displayName: 'CMake (UWP): Build x64'
inputs:
@ -96,7 +96,7 @@ jobs:
displayName: 'CMake (UWP): Config ARM'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM -B out5 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 '
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM -B out5 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0'
- task: CMake@1
displayName: 'CMake (UWP): Build ARM'
inputs:
@ -106,7 +106,7 @@ jobs:
displayName: 'CMake (ClangCl): Config x64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out6 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out6 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (ClangCl): Build x64 Debug'
inputs:
@ -121,7 +121,7 @@ jobs:
displayName: 'CMake (ClangCl): Config ARM64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -T clangcl -B out7 -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -T clangcl -B out7 -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (ClangCl): Build ARM64'
inputs:
@ -131,7 +131,7 @@ jobs:
displayName: 'CMake (Win10): Config'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out8 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN10=ON -DBUILD_TOOLS=OFF '
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out8 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN10=ON -DBUILD_TOOLS=OFF'
- task: CMake@1
displayName: 'CMake (Win10): Build'
inputs:

Просмотреть файл

@ -41,7 +41,7 @@ jobs:
displayName: 'CMake (MSVC): Config x64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (MSVC): Build x64 Debug'
inputs:
@ -56,7 +56,7 @@ jobs:
displayName: 'CMake (MSVC): Config x86'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A Win32 -B out2 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A Win32 -B out2 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (MSVC): Build x86 Debug'
inputs:
@ -71,7 +71,7 @@ jobs:
displayName: 'CMake (MSVC): Config ARM64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out3 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -B out3 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (MSVC): Build ARM64 Debug'
inputs:
@ -86,7 +86,7 @@ jobs:
displayName: 'CMake (UWP): Config x64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out4 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 '
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out4 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0'
- task: CMake@1
displayName: 'CMake (UWP): Build x64'
inputs:
@ -96,7 +96,7 @@ jobs:
displayName: 'CMake (UWP): Config ARM'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM -B out5 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 '
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM -B out5 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0'
- task: CMake@1
displayName: 'CMake (UWP): Build ARM'
inputs:
@ -106,7 +106,7 @@ jobs:
displayName: 'CMake (ClangCl): Config x64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out6 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -T clangcl -B out6 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (ClangCl): Build x64 Debug'
inputs:
@ -121,7 +121,7 @@ jobs:
displayName: 'CMake (ClangCl): Config ARM64'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -T clangcl -B out7 -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON '
cmakeArgs: '-G "$(VS_GENERATOR)" -A ARM64 -T clangcl -B out7 -DCMAKE_SYSTEM_VERSION=$(WIN11_SDK) -DBUILD_XAUDIO_WIN8=ON -DBUILD_TOOLS=ON'
- task: CMake@1
displayName: 'CMake (ClangCl): Build ARM64'
inputs:
@ -131,7 +131,7 @@ jobs:
displayName: 'CMake (Win10): Config'
inputs:
cwd: ''
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out8 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN10=ON -DBUILD_TOOLS=OFF '
cmakeArgs: '-G "$(VS_GENERATOR)" -A x64 -B out8 -DCMAKE_SYSTEM_VERSION=$(WIN10_SDK) -DBUILD_XAUDIO_WIN10=ON -DBUILD_TOOLS=OFF'
- task: CMake@1
displayName: 'CMake (Win10): Build'
inputs:

Просмотреть файл

@ -17,6 +17,8 @@ resources:
- repository: self
type: git
ref: refs/heads/main
trigger:
- main
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)

Просмотреть файл

@ -3,7 +3,7 @@
#
# http://go.microsoft.com/fwlink/?LinkId=248929
# Builds the library and test suite using the Microsoft GDK compiler.
# Builds the library using the Microsoft GDK.
schedules:
- cron: "30 5 * * *"
@ -43,12 +43,12 @@ jobs:
displayName: 'Use NuGet'
- task: NuGetCommand@2
# We have to use a nuget.config to provide the feed for the 'nuget install' option.
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |

Просмотреть файл

@ -3,7 +3,9 @@
#
# http://go.microsoft.com/fwlink/?LinkId=248929
# Builds the library and test suite using the Microsoft GDK compiler.
# Builds the library and test suite using the Microsoft GDK.
# NOTE: We use x64 MSBuild for the GDK as the NuGets don't include 32-bit support to avoid cross-arch dependencies.
schedules:
- cron: "30 5 * * *"
@ -44,12 +46,12 @@ jobs:
displayName: 'Use NuGet'
- task: NuGetCommand@2
# We have to use a nuget.config to provide the feed for the 'nuget install' option.
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |
@ -110,12 +112,12 @@ jobs:
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
- task: NuGetCommand@2
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |

Просмотреть файл

@ -25,7 +25,7 @@ pool:
vmImage: windows-2022
variables:
# VCPKG_ROOT needs to be set in the environment as well.
VCPKG_CMAKE_DIR: '$(VCPKG_ROOT)/scripts/buildsystems/vcpkg.cmake'
GITHUB_PAT: $(GITHUBPUBLICTOKEN)
WIN11_SDK: '10.0.22000.0'
URL_MINGW32: https://github.com/brechtsanders/winlibs_mingw/releases/download/12.2.0-14.0.6-10.0.0-ucrt-r2/winlibs-i686-posix-dwarf-gcc-12.2.0-llvm-14.0.6-mingw-w64ucrt-10.0.0-r2.zip
@ -41,12 +41,10 @@ jobs:
clean: true
fetchTags: false
- task: CmdLine@2
# We can use the preinstalled vcpkg instead of the latest when MS Hosted updates their vcpkg to the newer DirectX-Headers
displayName: Fetch VCPKG
inputs:
script: |
REM can remove this when MS Hosted updates their vcpkg to the newer DirectX-Headers
git clone --quiet https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
script: git clone --quiet https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
workingDirectory: $(Build.SourcesDirectory)
- task: CmdLine@2
displayName: VCPKG Bootstrap
@ -58,6 +56,7 @@ jobs:
workingDirectory: $(Build.SourcesDirectory)\vcpkg
- task: PowerShell@2
# We install GCC 12.2 as the MS Hosted only offers 11.2
displayName: Install MinGW32
inputs:
targetType: inline
@ -97,6 +96,7 @@ jobs:
filename: Src/Shaders/CompileShaders.cmd
workingFolder: $(Build.SourcesDirectory)\Src\Shaders
- task: CmdLine@2
# The error checks are commented out due to a bug with vcpkg not returning 0 on success.
displayName: VCPKG install headers
inputs:
script: |
@ -109,15 +109,6 @@ jobs:
exit /b 0
:error
@echo --- ERROR: VCPKG FAILED ---
call vcpkg install directxmath
REM @if ERRORLEVEL 1 goto error
call vcpkg install directx-headers
REM @if ERRORLEVEL 1 goto error
:finish
@echo --- VCPKG COMPLETE ---
exit /b 0
:error
@echo --- ERROR: VCPKG FAILED ---
exit /b 1
workingDirectory: $(Build.SourcesDirectory)\vcpkg
@ -125,7 +116,7 @@ jobs:
displayName: CMake (MinGW32)
inputs:
cwd: ''
cmakeArgs: -B out -DCMAKE_BUILD_TYPE="Debug" -DDIRECTX_ARCH=x86 -DCMAKE_TOOLCHAIN_FILE="$(Build.SourcesDirectory)/vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_CXX_COMPILER="g++.exe" -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x86-mingw-static -DUSE_PREBUILT_SHADERS=ON -DCOMPILED_SHADERS=$(Build.SourcesDirectory)\Src\Shaders\Compiled -DBUILD_XAUDIO_WIN7=ON
cmakeArgs: -B out -DCMAKE_BUILD_TYPE="Debug" -DDIRECTX_ARCH=x86 -DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)" -DCMAKE_CXX_COMPILER="g++.exe" -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x86-mingw-static -DUSE_PREBUILT_SHADERS=ON -DCOMPILED_SHADERS=$(Build.SourcesDirectory)\Src\Shaders\Compiled -DBUILD_XAUDIO_WIN7=ON
- task: CMake@1
displayName: CMake (MinGW32) Build
inputs:
@ -141,10 +132,7 @@ jobs:
- task: CmdLine@2
displayName: Fetch VCPKG
inputs:
script: |
REM can remove this when MS Hosted updates their vcpkg to the newer DirectX-Headers
git clone --quiet https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
script: git clone --quiet https://%GITHUB_PAT%@github.com/microsoft/vcpkg.git
workingDirectory: $(Build.SourcesDirectory)
- task: CmdLine@2
displayName: Fetch Tests
@ -204,8 +192,6 @@ jobs:
script: |
call vcpkg install directxmath
REM @if ERRORLEVEL 1 goto error
call vcpkg install directx-headers
REM @if ERRORLEVEL 1 goto error
call vcpkg install xaudio2redist
REM @if ERRORLEVEL 1 goto error
:finish
@ -213,15 +199,6 @@ jobs:
exit /b 0
:error
@echo --- ERROR: VCPKG FAILED ---
call vcpkg install directxmath
REM @if ERRORLEVEL 1 goto error
call vcpkg install directx-headers
REM @if ERRORLEVEL 1 goto error
:finish
@echo --- VCPKG COMPLETE ---
exit /b 0
:error
@echo --- ERROR: VCPKG FAILED ---
exit /b 1
workingDirectory: $(Build.SourcesDirectory)\vcpkg
@ -229,7 +206,7 @@ jobs:
displayName: CMake (MinGW-W64)
inputs:
cwd: ''
cmakeArgs: -B out -DCMAKE_BUILD_TYPE="Debug" -DDIRECTX_ARCH=x64 -DCMAKE_TOOLCHAIN_FILE="$(Build.SourcesDirectory)/vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_CXX_COMPILER="g++.exe" -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x64-mingw-static -DUSE_PREBUILT_SHADERS=ON -DCOMPILED_SHADERS=$(Build.SourcesDirectory)\Src\Shaders\Compiled -DBUILD_XAUDIO_WIN7=OFF
cmakeArgs: -B out -DCMAKE_BUILD_TYPE="Debug" -DDIRECTX_ARCH=x64 -DCMAKE_TOOLCHAIN_FILE="$(VCPKG_CMAKE_DIR)" -DCMAKE_CXX_COMPILER="g++.exe" -G "MinGW Makefiles" -DVCPKG_TARGET_TRIPLET=x64-mingw-static -DUSE_PREBUILT_SHADERS=ON -DCOMPILED_SHADERS=$(Build.SourcesDirectory)\Src\Shaders\Compiled -DBUILD_XAUDIO_WIN7=OFF
- task: CMake@1
displayName: CMake (MinGW-W64) Build
inputs:

Просмотреть файл

@ -43,12 +43,12 @@ jobs:
displayName: 'Use NuGet'
- task: NuGetCommand@2
# We have to use a nuget.config to provide the feed for the 'nuget install' option.
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk-DirectXTK -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |
@ -209,12 +209,12 @@ jobs:
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
- task: NuGetCommand@2
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk-DirectXTK -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |
@ -276,14 +276,14 @@ jobs:
clean: true
fetchTags: false
- task: NuGetToolInstaller@1
displayName: Use NuGet
displayName: 'Use NuGet'
- task: NuGetCommand@2
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk-DirectXTK -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |

Просмотреть файл

@ -43,12 +43,12 @@ jobs:
displayName: 'Use NuGet'
- task: NuGetCommand@2
# We have to use a nuget.config to provide the feed for the 'nuget install' option.
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk-DirectXTK -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |
@ -209,12 +209,12 @@ jobs:
- task: NuGetToolInstaller@1
displayName: 'Use NuGet'
- task: NuGetCommand@2
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk-DirectXTK -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |
@ -249,7 +249,6 @@ jobs:
configuration: Debug
- task: VSBuild@1
displayName: Build solution DirectXTK_Windows10_2019.sln 32rel
enabled: False
inputs:
solution: DirectXTK_Windows10_2019.sln
msbuildArgs: /p:PreferredToolArchitecture=x64
@ -277,14 +276,14 @@ jobs:
clean: true
fetchTags: false
- task: NuGetToolInstaller@1
displayName: Use NuGet
displayName: 'Use NuGet'
- task: NuGetCommand@2
displayName: NuGet set package source to ADO feed
displayName: 'NuGet set package source to ADO feed'
inputs:
command: custom
arguments: sources add -Name xboxgdk-DirectXTK -Source $(URL_FEED) -ConfigFile NuGet.config
- task: PowerShell@2
displayName: Set nuget.config to single source
displayName: 'Set nuget.config to single source'
inputs:
targetType: inline
script: |

Просмотреть файл

@ -152,7 +152,7 @@ jobs:
workingDirectory: $(Build.SourcesDirectory)
failOnStderr: true
- task: NuGetToolInstaller@1
displayName: 'Use NuGet '
displayName: 'Use NuGet'
- task: NuGetCommand@2
displayName: NuGet restore
inputs:
@ -256,14 +256,6 @@ jobs:
script: git clone --quiet https://%GITHUB_PAT%@github.com/walbourn/directxtktest.git Tests
workingDirectory: $(Build.SourcesDirectory)
failOnStderr: true
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln 32rel
inputs:
solution: Tests/DirectXTK_Tests_Windows10.sln
vsVersion: 16.0
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: x86
configuration: Release
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln 32dbg
inputs:
@ -272,6 +264,14 @@ jobs:
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: x86
configuration: Debug
- task: VSBuild@1
displayName: Build solution DirectXTK_Tests_Windows10.sln 32rel
inputs:
solution: Tests/DirectXTK_Tests_Windows10.sln
vsVersion: 16.0
msbuildArgs: /p:PreferredToolArchitecture=x64 /p:AppxBundle=Never
platform: x86
configuration: Release
- job: UWP_BUILD_ARM
displayName: 'Universal Windows Platform (UWP) for ARM'

Просмотреть файл

@ -17,6 +17,8 @@ resources:
- repository: self
type: git
ref: refs/heads/main
trigger:
- main
name: $(Year:yyyy).$(Month).$(DayOfMonth)$(Rev:.r)