Add LOGFD and LOGPD macros #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ master, dev ] | |
| pull_request: | |
| branches: [ master, dev ] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| fedora: [38, 39] | |
| include: | |
| - fedora: 38 | |
| gcc: 13 | |
| - fedora: 39 | |
| gcc: 13 | |
| container: fedora:${{ matrix.fedora }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| dnf update -y | |
| dnf install -y cmake ninja-build boost-devel gcc-c++ git | |
| dnf builddep -y fairlogger || true | |
| - 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-macos: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [macos-13, macos-14] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| brew install cmake ninja boost fmt | |
| - 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 |