release-windows.yml: use windows-2022 (#3939)
This commit is contained in:
parent
52f507d1fb
commit
fffb03a242
|
@ -20,7 +20,7 @@ jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: windows-2019
|
runs-on: windows-2022
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# see https://www.pcre.org/original/changelog.txt
|
# see https://www.pcre.org/original/changelog.txt
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
7z x pcre-%PCRE_VERSION%.zip || exit /b !errorlevel!
|
7z x pcre-%PCRE_VERSION%.zip || exit /b !errorlevel!
|
||||||
cd pcre-%PCRE_VERSION% || exit /b !errorlevel!
|
cd pcre-%PCRE_VERSION% || exit /b !errorlevel!
|
||||||
cmake . -G "Visual Studio 16 2019" -A x64 -DPCRE_BUILD_PCRECPP=OFF -DPCRE_BUILD_PCREGREP=OFF -DPCRE_BUILD_TESTS=OFF || exit /b !errorlevel!
|
cmake . -G "Visual Studio 17 2022" -A x64 -DPCRE_BUILD_PCRECPP=OFF -DPCRE_BUILD_PCREGREP=OFF -DPCRE_BUILD_TESTS=OFF || exit /b !errorlevel!
|
||||||
msbuild -m PCRE.sln -p:Configuration=Release -p:Platform=x64 || exit /b !errorlevel!
|
msbuild -m PCRE.sln -p:Configuration=Release -p:Platform=x64 || exit /b !errorlevel!
|
||||||
copy pcre.h ..\externals || exit /b !errorlevel!
|
copy pcre.h ..\externals || exit /b !errorlevel!
|
||||||
copy Release\pcre.lib ..\externals\pcre64.lib || exit /b !errorlevel!
|
copy Release\pcre.lib ..\externals\pcre64.lib || exit /b !errorlevel!
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
<?define QtDllDir = "files" ?>
|
<?define QtDllDir = "files" ?>
|
||||||
|
|
||||||
<?if $(var.Platform) = x64 ?>
|
<?if $(var.Platform) = x64 ?>
|
||||||
<?define CrtMergeModule = "$(env.VCToolsRedistDir)\MergeModules\Microsoft_VC142_CRT_x64.msm" ?>
|
<?define CrtMergeModule = "$(env.VCINSTALLDIR)Redist\MSVC\v143\MergeModules\Microsoft_VC143_CRT_x64.msm" ?>
|
||||||
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
|
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?>
|
||||||
<?else?>
|
<?else?>
|
||||||
<?define CrtMergeModule = "$(env.VCToolsRedistDir)\MergeModules\Microsoft_VC142_CRT_x86.msm" ?>
|
<?define CrtMergeModule = "$(env.VCINSTALLDIR)Redist\MSVC\v143\MergeModules\Microsoft_VC143_CRT_x86.msm" ?>
|
||||||
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?>
|
||||||
<?endif?>
|
<?endif?>
|
||||||
</Include>
|
</Include>
|
||||||
|
|
|
@ -32,7 +32,7 @@ Before building the installer make sure all the components are build:
|
||||||
And that runtime files are available:
|
And that runtime files are available:
|
||||||
- Qt runtimes:
|
- Qt runtimes:
|
||||||
Qt5Core.dll, Qt5PrintSupport.dll, Qt5Widgets.dll, Qt5Gui.dll and platforms/qwindows.dll
|
Qt5Core.dll, Qt5PrintSupport.dll, Qt5Widgets.dll, Qt5Gui.dll and platforms/qwindows.dll
|
||||||
- MS CRT merge module (Microsoft_VC140_CRT_x86.msm or Microsoft_VC140_CRT_x64.msm)
|
- MS CRT merge module (Microsoft_VC143_CRT_x86.msm or Microsoft_VC143_CRT_x64.msm)
|
||||||
|
|
||||||
Build installer by giving this command line in VS command prompt (or run
|
Build installer by giving this command line in VS command prompt (or run
|
||||||
vcvars32.bat in DOS prompt first to setup environment):
|
vcvars32.bat in DOS prompt first to setup environment):
|
||||||
|
|
Loading…
Reference in New Issue