Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Fedora CI builder targeting latest stable and rawhide #74

Merged
merged 3 commits into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/cmake-linux-fedora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CMake (Fedora Linux)

on: [push, pull_request]

env:
BUILD_TYPE: RelWithDebInfo

jobs:
build:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
container: ['fedora:latest']
experimental: [false]
include:
- container: 'fedora:rawhide'
experimental: true

container:
image: ${{ matrix.container }}

steps:
- name: Install dependencies
run: dnf install -y git gcc-c++ cmake gtest-devel openssl-devel pcsc-lite-devel

- uses: actions/checkout@v4

- name: Configure CMake
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -S . -B build

- name: Build
run: cmake --build build --config $BUILD_TYPE -j $(nproc)

- name: Test
run: ctest -V -C $BUILD_TYPE --test-dir build
3 changes: 1 addition & 2 deletions .github/workflows/cmake-linux-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: [push, pull_request]

env:
BUILD_TYPE: RelWithDebInfo
CMAKE_BUILD_PARALLEL_LEVEL: 3

jobs:
build:
Expand All @@ -20,7 +19,7 @@ jobs:
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -S . -B build

- name: Build
run: cmake --build build --config $BUILD_TYPE
run: cmake --build build --config $BUILD_TYPE -j $(nproc)

- name: Test
run: ctest -V -C $BUILD_TYPE --test-dir build
Loading