Update CI

This commit is contained in:
Alexey Rybalchenko
2026-02-17 09:57:51 +01:00
parent ddd614d355
commit f4458f29f6

View File

@@ -7,27 +7,50 @@ on:
branches: [ master, dev ]
jobs:
build-linux:
runs-on: ubuntu-latest
build-ubuntu:
runs-on: ${{ matrix.os }}
strategy:
matrix:
fedora: [38, 39, 40]
include:
- fedora: 38
gcc: 13
- fedora: 39
gcc: 13
- fedora: 40
gcc: 14
container: ghcr.io/fairrootgroup/fairmq-dev/fedora-${{ matrix.fedora }}
os: [ubuntu-22.04, ubuntu-24.04]
steps:
- uses: actions/checkout@v4
- name: Install additional dependencies
- name: Install dependencies
run: |
dnf install -y fmt-devel || true
sudo apt-get update
sudo apt-get install -y cmake ninja-build libboost-dev libfmt-dev
- name: Configure
run: |
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DDISABLE_COLOR=ON \
-DUSE_EXTERNAL_FMT=ON \
-DUSE_BOOST_PRETTY_FUNCTION=ON
- name: Build
run: cmake --build build
- name: Test
run: |
cd build
ctest -V --output-on-failure
build-fedora:
runs-on: ubuntu-latest
strategy:
matrix:
fedora: [40, 41, 42]
container: fedora:${{ matrix.fedora }}
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
dnf install -y gcc-c++ cmake ninja-build boost-devel fmt-devel
- name: Configure
run: |
@@ -49,7 +72,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, macos-14, macos-15]
os: [macos-14, macos-15, macos-15-intel]
steps:
- uses: actions/checkout@v4