@@ -69,16 +69,10 @@ jobs:
69
69
tools : ' tools_opensslv3_x64'
70
70
cache : true
71
71
72
- - name : Create .qm
73
- run : |
74
- cd gui || exit /b !errorlevel!
75
- lupdate gui.pro -no-obsolete || exit /b !errorlevel!
76
- lrelease gui.pro -removeidentical || exit /b !errorlevel!
77
-
78
72
- name : Build x64 release GUI
79
73
run : |
80
- ; TODO: enable rules?
81
- ; specify Release build so matchcompiler is used
74
+ :: TODO: enable rules?
75
+ :: specify Release build so matchcompiler is used
82
76
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_GUI=On -DWITH_QCHART=On -DBUILD_ONLINE_HELP=On || exit /b !errorlevel!
83
77
cmake --build build --target cppcheck-gui --config Release || exit /b !errorlevel!
84
78
@@ -112,16 +106,16 @@ jobs:
112
106
mkdir win_installer\files\help || exit /b !errorlevel!
113
107
xcopy /s gui\help win_installer\files\help || exit /b !errorlevel!
114
108
del win_installer\files\translations\*.qm || exit /b !errorlevel!
115
- move gui\*.qm win_installer\files\translations || exit /b !errorlevel!
109
+ move build\ gui\*.qm win_installer\files\translations || exit /b !errorlevel!
116
110
:: copy libcrypto-3-x64.dll and libssl-3-x64.dll
117
111
copy %RUNNER_WORKSPACE%\Qt\Tools\OpenSSLv3\Win_x64\bin\lib*.dll win_installer\files || exit /b !errorlevel!
118
112
119
113
- name : Build Installer
120
114
run : |
121
115
cd win_installer || exit /b !errorlevel!
122
- REM Read ProductVersion
116
+ :: Read ProductVersion
123
117
for /f "tokens=4 delims= " %%a in ('find "ProductVersion" productInfo.wxi') do set PRODUCTVER=%%a
124
- REM Remove double quotes
118
+ :: Remove double quotes
125
119
set PRODUCTVER=%PRODUCTVER:"=%
126
120
@echo ProductVersion="%PRODUCTVER%" || exit /b !errorlevel!
127
121
msbuild -m cppcheck.wixproj -p:Platform=x64,ProductVersion=%PRODUCTVER%.${{ github.run_number }} || exit /b !errorlevel!
0 commit comments