Appveyor CI: Setup build environment directly

vcvars64.bat is just a link to vcvarsall.bat with parameter `x64`.
This commit is contained in:
Chocobo1 2021-11-17 12:27:38 +08:00
commit 36a6e22f27
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -42,7 +42,7 @@ install:
before_build: before_build:
# setup env # setup env
- CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat" - CALL "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
- SET PATH=%PATH%;C:\Qt\5.15.2\msvc2019_64\bin;%CACHE_DIR%\jom - SET PATH=%PATH%;C:\Qt\5.15.2\msvc2019_64\bin;%CACHE_DIR%\jom
# setup project # setup project
- COPY /Y "%CACHE_DIR%\conf.pri" "%REPO_DIR%" - COPY /Y "%CACHE_DIR%\conf.pri" "%REPO_DIR%"