Bump AppVeyor Visual Studio version to 2022
Change Visual Studio version in README.md
diff --git a/README.md b/README.md
index 553ae9f..51f47b1 100644
--- a/README.md
+++ b/README.md
@@ -60,7 +60,7 @@
## Prebuilt Library (Windows)
-If you're building on Windows with Visual Studio 2019 and want to try out
+If you're building on Windows with Visual Studio 2022 and want to try out
libavif without going through the build process, static library builds for both
Debug and Release are available on
[AppVeyor](https://ci.appveyor.com/project/louquillio/libavif).
diff --git a/appveyor.yml b/appveyor.yml
index da51560..de4da36 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,4 +1,4 @@
-image: Visual Studio 2019
+image: Visual Studio 2022
configuration: Release
skip_commits:
files:
@@ -10,8 +10,8 @@
install:
# Get submodules
- git submodule update --init --recursive
- # Prepare VS env
- - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
+ # Prepare Visual Studio environment
+ - call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
# Install Nasm
- appveyor DownloadFile "https://github.com/joedrago/nasm_mirror/raw/master/nasm-2.15.05-win64.zip" -FileName "nasm.zip"
- 7z x "nasm.zip" > nul
@@ -41,14 +41,14 @@
- copy %CONFIGURATION%\avifenc.exe .
- copy %CONFIGURATION%\avifdec.exe .
- mkdir lib
- - set ARTIFACT_ZIP=libavif_vs2019_x64_%APPVEYOR_REPO_COMMIT:~0,8%_%CONFIGURATION%.zip
+ - set ARTIFACT_ZIP=libavif_vs2022_x64_%APPVEYOR_REPO_COMMIT:~0,8%_%CONFIGURATION%.zip
- copy %CONFIGURATION%\avif.lib lib\avif_x64_%CONFIGURATION%.lib
- 7z a %ARTIFACT_ZIP% lib
- cd ..
- 7z a build\%ARTIFACT_ZIP% include examples
artifacts:
-- path: 'build\libavif_vs2019_x64_*.zip'
+- path: 'build\libavif_vs2022_x64_*.zip'
name: Static Lib and Includes
- path: 'build\*.exe'
name: Basic apps