Skip to content

Commit

Permalink
Updated the AppVeyor configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Jul 22, 2024
1 parent c60d767 commit 31f5aeb
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
#---------------------------------#
# Build Image #
#---------------------------------#
image: Visual Studio 2017
image: Visual Studio 2022

#---------------------------------#
# Install .NET #
#---------------------------------#
install:
- ps: $env:DOTNET_INSTALL_DIR = "$pwd\.dotnetsdk"
- ps: mkdir $env:DOTNET_INSTALL_DIR -Force | Out-Null
- ps: Invoke-WebRequest -Uri "https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1" -OutFile "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1"
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 2.1 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 3.1 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 5.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 6.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 7.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: '& "$($env:DOTNET_INSTALL_DIR)/dotnet-install.ps1" -Channel 8.0 -InstallDir $env:DOTNET_INSTALL_DIR'
- ps: $env:Path = "$env:DOTNET_INSTALL_DIR;$env:Path"
- ps: dotnet --info

#---------------------------------#
# Build Script #
#---------------------------------#
build_script:
- ps: .\build.ps1 -Target AppVeyor
- ps: .\build.ps1 --target=CI

#---------------------------------#
# Tests
Expand Down Expand Up @@ -40,7 +56,7 @@ branches:
# Build Cache #
#---------------------------------#
cache:
- tools -> recipe.cake, tools/packages.config
- tools -> recipe.cake, .config/dotnet-tools.json

#---------------------------------#
# Skip builds for doc changes #
Expand Down

0 comments on commit 31f5aeb

Please sign in to comment.