From 9b8139a4030a8504be4fc2ec60dc75ab7a92c78d Mon Sep 17 00:00:00 2001 From: Raul Metsma Date: Tue, 18 Apr 2023 13:54:31 +0300 Subject: [PATCH] Remove obsolete platforms from GitHub Actions (#1180) IB-7703 Signed-off-by: Raul Metsma --- .github/workflows/build.yml | 28 +++++++--------------------- CMakeLists.txt | 2 +- client/CMakeLists.txt | 2 +- qdigidoc4.wxs | 33 ++++++--------------------------- 4 files changed, 15 insertions(+), 50 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1de0ea292..d085b3062 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -142,24 +142,11 @@ jobs: strategy: matrix: vcver: [142, 143] - arch: [x64] - qtver: [6.4.2] - qt: [win64_msvc2019_64] - qtmodules: [qt5compat] include: - vcver: 142 image: windows-2019 - toolset: 14.29 - vcver: 143 image: windows-2022 - toolset: 14.34 - - vcver: 141 - arch: x86 - qtver: 5.12.12 - qt: win32_msvc2017 - qtmodules: - image: windows-2019 - toolset: 14.16 env: VER_SUFFIX: .VS${{ matrix.vcver }} steps: @@ -184,26 +171,25 @@ jobs: with: vcpkgArguments: openssl vcpkgGitCommitId: a69b65229b3956b7f45abd81671b7330114bcaad - vcpkgTriplet: ${{ matrix.arch }}-windows + vcpkgTriplet: x64-windows - name: Install Qt uses: jurplel/install-qt-action@v3 with: - version: ${{ matrix.qtver }} - arch: ${{ matrix.qt }} - modules: ${{ matrix.qtmodules }} + version: 6.4.3 + arch: win64_msvc2019_64 + modules: qt5compat - name: Setup dev env uses: ilammy/msvc-dev-cmd@v1 with: - arch: ${{ matrix.arch }} + arch: x64 sdk: 10.0.17763.0 - toolset: ${{ matrix.toolset }} - name: Build run: | md build/client - copy ${{ env.VCPKG_ROOT }}\installed\${{ matrix.arch }}-windows\bin\*.dll build\client\ + copy ${{ env.VCPKG_ROOT }}\installed\x64-windows\bin\*.dll build\client\ cmake "-GNinja" -DCMAKE_BUILD_TYPE=RelWithDebInfo ` -DCMAKE_TOOLCHAIN_FILE=${{ env.VCPKG_ROOT }}/scripts/buildsystems/vcpkg.cmake ` - "-DLIBDIGIDOCPP_LIBRARY=libs/libdigidocpp/${{ matrix.arch }}/digidocpp.lib" ` + "-DLIBDIGIDOCPP_LIBRARY=libs/libdigidocpp/x64/digidocpp.lib" ` "-DLIBDIGIDOCPP_INCLUDE_DIR=libs/libdigidocpp/include" -B build -S . cmake --build build --target msi cmake --build build --target appx diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d3b3e7c0..2d24fd22e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.16) -project(qdigidoc4 VERSION 4.3.0) +project(qdigidoc4 VERSION 4.4.0) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) set(CMAKE_INCLUDE_CURRENT_DIR ON) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index ae59c2efd..a9216df27 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -232,7 +232,7 @@ elseif(WIN32) list(APPEND CANDLE_CMD "$ENV{WIX}bin\\candle.exe" -nologo -arch ${PLATFORM} -dMSI_VERSION=${VERSION} -dPlatform=${PLATFORM} -dlibs_path="${LIBS_PATH}" -dclient_path=$ -dico_path=${CMAKE_CURRENT_SOURCE_DIR}/images/digidoc.ico -dqtconf=${CMAKE_SOURCE_DIR}/qt.conf -dschemasLocation=${LIBS_PATH}/schema SchemasFragment.wxs - -dqt_ver_major=${QT_VERSION_MAJOR} -dqt_suffix=$<$:d> ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.wxs + -dqt_suffix=$<$:d> ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.wxs ${CMAKE_SOURCE_DIR}/cmake/modules/WelcomeDlg2.wxs ${CMAKE_SOURCE_DIR}/cmake/modules/WixUI_Minimal2.wxs) list(APPEND LIGHT_CMD "$ENV{WIX}bin\\light.exe" -nologo -ext WixUIExtension ${PROJECT_NAME}.wixobj SchemasFragment.wixobj WelcomeDlg2.wixobj WixUI_Minimal2.wixobj diff --git a/qdigidoc4.wxs b/qdigidoc4.wxs index fa86fbb91..1cb59c4de 100644 --- a/qdigidoc4.wxs +++ b/qdigidoc4.wxs @@ -29,8 +29,6 @@ msiexec /a libdigidocpp-3.13.8.1378.msi /qn TARGETDIR=C:\target - - @@ -149,23 +147,16 @@ msiexec /a libdigidocpp-3.13.8.1378.msi /qn TARGETDIR=C:\target - - - - - - + + + + + + - - - - - - - @@ -175,19 +166,11 @@ msiexec /a libdigidocpp-3.13.8.1378.msi /qn TARGETDIR=C:\target - - - - - - - - @@ -213,11 +196,7 @@ msiexec /a libdigidocpp-3.13.8.1378.msi /qn TARGETDIR=C:\target - - - -