mirror of
https://github.com/FairRootGroup/FairLogger.git
synced 2026-05-26 22:05:37 +00:00
Update CI
This commit is contained in:
53
.github/workflows/ci.yml
vendored
53
.github/workflows/ci.yml
vendored
@@ -7,27 +7,50 @@ on:
|
|||||||
branches: [ master, dev ]
|
branches: [ master, dev ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-linux:
|
build-ubuntu:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
fedora: [38, 39, 40]
|
os: [ubuntu-22.04, ubuntu-24.04]
|
||||||
include:
|
|
||||||
- fedora: 38
|
|
||||||
gcc: 13
|
|
||||||
- fedora: 39
|
|
||||||
gcc: 13
|
|
||||||
- fedora: 40
|
|
||||||
gcc: 14
|
|
||||||
|
|
||||||
container: ghcr.io/fairrootgroup/fairmq-dev/fedora-${{ matrix.fedora }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install additional dependencies
|
- name: Install dependencies
|
||||||
run: |
|
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
|
- name: Configure
|
||||||
run: |
|
run: |
|
||||||
@@ -49,7 +72,7 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-13, macos-14, macos-15]
|
os: [macos-14, macos-15, macos-15-intel]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user