Skip to content

Commit 1df93c6

Browse files
committed
Update CI
1 parent ddd614d commit 1df93c6

1 file changed

Lines changed: 35 additions & 12 deletions

File tree

.github/workflows/ci.yml

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,50 @@ on:
77
branches: [ master, dev ]
88

99
jobs:
10-
build-linux:
10+
build-ubuntu:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-22.04, ubuntu-24.04]
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Install dependencies
20+
run: |
21+
sudo apt-get update
22+
sudo apt-get install -y cmake ninja-build libboost-dev libfmt-dev
23+
24+
- name: Configure
25+
run: |
26+
cmake -B build -G Ninja \
27+
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
28+
-DDISABLE_COLOR=ON \
29+
-DUSE_EXTERNAL_FMT=ON \
30+
-DUSE_BOOST_PRETTY_FUNCTION=ON
31+
32+
- name: Build
33+
run: cmake --build build
34+
35+
- name: Test
36+
run: |
37+
cd build
38+
ctest -V --output-on-failure
39+
40+
build-fedora:
1141
runs-on: ubuntu-latest
1242
strategy:
1343
matrix:
14-
fedora: [38, 39, 40]
15-
include:
16-
- fedora: 38
17-
gcc: 13
18-
- fedora: 39
19-
gcc: 13
20-
- fedora: 40
21-
gcc: 14
44+
fedora: [40, 41, 42]
2245

23-
container: ghcr.io/fairrootgroup/fairmq-dev/fedora-${{ matrix.fedora }}
46+
container: fedora:${{ matrix.fedora }}
2447

2548
steps:
2649
- uses: actions/checkout@v4
2750

28-
- name: Install additional dependencies
51+
- name: Install dependencies
2952
run: |
30-
dnf install -y fmt-devel || true
53+
dnf install -y gcc-c++ cmake ninja-build boost-devel fmt-devel
3154
3255
- name: Configure
3356
run: |

0 commit comments

Comments
 (0)