Skip to content

Commit 1e464c4

Browse files
committed
Test
Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent 2ea8958 commit 1e464c4

File tree

3 files changed

+15
-4
lines changed

3 files changed

+15
-4
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
- name: Build
3131
run: cmake --build build --config $BUILD_TYPE --target package
3232

33+
- name: Test package
34+
run: rpmlint build/*rpm
35+
3336
- uses: actions/upload-artifact@v4
3437
with:
3538
name: web-eid-app-fedora-build-fedora${{matrix.container}}-${{github.run_number}}

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

+10-4
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,19 @@ jobs:
2020
container: ['20.04', '22.04', '24.04']
2121

2222
steps:
23-
- name: Install dependencies
23+
- uses: awalsh128/cache-apt-pkgs-action@latest
2424
if: matrix.container == '20.04'
25-
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev
25+
with:
26+
packages: git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev
27+
version: apt-${{matrix.container}}-v1
28+
execute_install_scripts: true
2629

27-
- name: Install dependencies
30+
- uses: awalsh128/cache-apt-pkgs-action@latest
2831
if: matrix.container != '20.04'
29-
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian 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+
with:
33+
packages: git lsb-release fakeroot build-essential devscripts debhelper lintian 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
34+
version: apt-${{matrix.container}}-v1
35+
execute_install_scripts: true
3036

3137
- uses: actions/checkout@v4
3238
with:

src/app/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ else()
169169
DESTINATION ${CMAKE_INSTALL_DATADIR}/web-eid)
170170
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eu.webeid.json
171171
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/chromium/native-messaging-hosts)
172+
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/eu.webeid.json
173+
DESTINATION ${CMAKE_INSTALL_SYSCONFDIR}/opt/chrome/native-messaging-hosts)
172174
install(FILES ${CMAKE_SOURCE_DIR}/install/ncibgoaomkmdpilpocfeponihegamlic.json
173175
DESTINATION ${CMAKE_INSTALL_DATADIR}/google-chrome/extensions)
174176
install(FILES ${CMAKE_SOURCE_DIR}/install/ncibgoaomkmdpilpocfeponihegamlic.json

0 commit comments

Comments
 (0)