This repository was archived by the owner on Nov 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,13 +32,21 @@ jobs:
3232 repository : lutraconsulting/geodiff
3333 path : geodiff
3434
35+
36+ - name : Cache Qt from qt.io
37+ id : cache-qt
38+ uses : actions/cache@v1
39+ with :
40+ path : ../Qt
41+ key : Windows-QtCache
42+
3543 - name : Install Qt
3644 uses : jurplel/install-qt-action@v2
37-
38- - name : Set compiler environment
39- shell : cmd
40- run : |
41- CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" -arch=x86
45+ with :
46+ cached : ${{ steps.cache-qt.outputs.cache-hit }}
47+ modules : ' qtnetwork '
48+ arch : win64_msvc2019_64
49+ version : 5.14.2
4250
4351 - name : Setup cmake
4452 uses : jwlawson/actions-setup-cmake@v1.8
4957 if(-Not (Test-Path -Path build-geodiff)) { mkdir build-geodiff }
5058 cd build-geodiff
5159
52- cmake -DBUILD_STATIC=TRUE -DENABLE_TESTS=FALSE ..\geodiff\geodiff
53- cmake --build . --config Release
60+ C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat
61+ exec { cmake -DBUILD_STATIC=TRUE -DENABLE_TESTS=FALSE ..\geodiff\geodiff }
62+ exec { cmake --build . --config Release }
5463
5564 - name : build mergin-cpp-client
5665 shell : pwsh
5968 if(-Not (Test-Path -Path build-mergin-cpp-client)) { mkdir build-mergin-cpp-client }
6069 cd build-mergin-cpp-client
6170
62- qmake ..\mergin-cpp-client\src\client.pro CONFIG+=release CONFIG+=static
63- nmake release
64- dir
71+ C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat
72+ exec { qmake ..\mergin-cpp-client\src\client.pro CONFIG+= release CONFIG+=static }
73+ exec { nmake release }
Original file line number Diff line number Diff line change 44 GEODIFF_LIB_DIR = $$PWD /../build-geodiff
55}
66
7- lnx {
7+ unix {
88 INPUT_DIR = $$PWD /../../input
99 GEODIFF_INCLUDE_DIR = /usr/include
1010 GEODIFF_LIB_DIR = /usr/lib
You can’t perform that action at this time.
0 commit comments