Skip to content

Upgrade to C++20 and incorporate optimizations in libelectronic-id #653

Upgrade to C++20 and incorporate optimizations in libelectronic-id

Upgrade to C++20 and incorporate optimizations in libelectronic-id #653

name: CMake (Fedora Linux)
on: [push, pull_request]
env:
BUILD_TYPE: RelWithDebInfo
BUILD_NUMBER: ${{github.run_number}}
QT_QPA_PLATFORM: offscreen
CMAKE_BUILD_PARALLEL_LEVEL: 3
jobs:
build:
runs-on: ubuntu-latest
container: fedora:${{ matrix.container }}
strategy:
matrix:
container: [38, 39, 40]
steps:
- name: Install Deps
run: dnf install -y --setopt=install_weak_deps=False git gcc-c++ cmake rpm-build openssl-devel pcsc-lite-devel qt6-qtsvg-devel qt6-qttools-devel gtest-devel
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure CMake
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -B build -S .
- name: Build
run: cmake --build build --config $BUILD_TYPE --target package
- uses: actions/upload-artifact@v4
with:
name: web-eid-app-fedora-build-fedora${{matrix.container}}-${{github.run_number}}
path: build/*rpm