Skip to content

Commit 1556dc6

Browse files
metsmamrts
authored andcommitted
Increase version number
IB-7539 Signed-off-by: Raul Metsma <[email protected]>
1 parent 4f9eac2 commit 1556dc6

File tree

4 files changed

+14
-37
lines changed

4 files changed

+14
-37
lines changed

.github/workflows/cmake-linux-ubuntu.yml

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,52 +16,34 @@ jobs:
1616
container: ${{matrix.container}}
1717
strategy:
1818
matrix:
19-
container: ['ubuntu:18.04', 'ubuntu:20.04', 'ubuntu:22.04']
19+
container: ['ubuntu:20.04', 'ubuntu:22.04']
2020
include:
21-
- container: 'ubuntu:18.04'
22-
name: ubuntu1804
2321
- container: 'ubuntu:20.04'
2422
name: ubuntu2004
2523
- container: 'ubuntu:22.04'
2624
name: ubuntu2204
2725

2826
steps:
29-
- uses: actions/checkout@v1
30-
with:
31-
submodules: recursive
32-
3327
- name: Install dependencies
34-
if: matrix.container != 'ubuntu:22.04'
35-
run: apt update -qq && apt install --no-install-recommends -y lsb-release fakeroot build-essential devscripts cdbs pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev
28+
if: matrix.container == 'ubuntu:20.04'
29+
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts cdbs pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev
3630

3731
- name: Install dependencies
38-
if: matrix.container == 'ubuntu:22.04'
39-
run: apt update -qq && apt install --no-install-recommends -y lsb-release fakeroot build-essential devscripts cdbs pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6core5compat6-dev
32+
if: matrix.container != 'ubuntu:20.04'
33+
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts cdbs pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6core5compat6-dev
4034

41-
- name: Ubuntu 18.04 workarounds
42-
if: matrix.container == 'ubuntu:18.04'
43-
run: |
44-
mkdir gtest
45-
cd gtest
46-
cmake /usr/src/gtest
47-
cmake --build . --target install
48-
apt --no-install-recommends -y install clang-10
49-
echo "CC=clang-10" >> $GITHUB_ENV
50-
echo "CXX=clang++-10" >> $GITHUB_ENV
51-
52-
- name: Create build directory
53-
run: mkdir build
35+
- uses: actions/checkout@v3
36+
with:
37+
submodules: recursive
5438

5539
- name: Configure CMake
56-
working-directory: ${{github.workspace}}/build
57-
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE ..
40+
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -B build -S .
5841

5942
- name: Build
60-
working-directory: ${{github.workspace}}/build
6143
run: |
62-
cmake --build . --config $BUILD_TYPE --target installer
44+
cmake --build build --config $BUILD_TYPE --target installer
6345
# Debian creates artifacts outside of project dir, copy them back to make them available in the build artifacts
64-
cp -r ../../web-eid*.* src/app
46+
cp -r ../web-eid*.* build/src/app
6547
6648
- uses: actions/upload-artifact@v3
6749
with:

CMakeLists.txt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
cmake_minimum_required(VERSION 3.8.0)
2-
if(POLICY CMP0092)
3-
cmake_policy(SET CMP0092 NEW)
4-
endif()
1+
cmake_minimum_required(VERSION 3.16)
52

63
if($ENV{BUILD_NUMBER})
74
set(BUILD_NUMBER $ENV{BUILD_NUMBER})
@@ -10,7 +7,7 @@ elseif($ENV{CI_PIPELINE_IID})
107
else()
118
set(BUILD_NUMBER 0)
129
endif()
13-
project(web-eid VERSION 2.2.0.${BUILD_NUMBER})
10+
project(web-eid VERSION 2.3.0.${BUILD_NUMBER})
1411

1512
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
1613
set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION_TWEAK})
@@ -32,7 +29,7 @@ set(CROSSSIGNCERT "" CACHE STRING "Common name of certificate to used cross sign
3229
set(SAFARI_PROVISIONPROFILE "" CACHE STRING "Provision profile to include in application (macOS)")
3330

3431
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
35-
find_package(Qt${QT_VERSION_MAJOR} 5.9.0 REQUIRED COMPONENTS Core Widgets Network Test LinguistTools Svg)
32+
find_package(Qt${QT_VERSION_MAJOR} 5.12.0 REQUIRED COMPONENTS Core Widgets Network Test LinguistTools Svg)
3633
get_target_property(qtCore_install_prefix Qt${QT_VERSION_MAJOR}::qmake IMPORTED_LOCATION)
3734
get_filename_component(qtCore_install_prefix ${qtCore_install_prefix} DIRECTORY)
3835

src/app/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ if(WIN32)
2020
else()
2121
set(PLATFORM x86)
2222
endif()
23-
find_package(OpenSSL REQUIRED)
2423
if(OPENSSL_ROOT_DIR)
2524
set(SSL_PATH "${OPENSSL_ROOT_DIR}/bin")
2625
else()

src/controller/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
add_library(controller STATIC
22
application.cpp
33
application.hpp
4-
$<$<BOOL:${APPLE}>:application.mm>
54
certandpininfo.hpp
65
command-handlers/authenticate.cpp
76
command-handlers/authenticate.hpp

0 commit comments

Comments
 (0)