Skip to content

FLUTE receiver: Add an option to specify the output directory #5

FLUTE receiver: Add an option to specify the output directory

FLUTE receiver: Add an option to specify the output directory #5

Workflow file for this run

name: Unit Tests
on:
pull_request:
branches: [development]
concurrency:
group: unit-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
name: Build & Test (Ubuntu)
runs-on: ubuntu-latest
env:
CTEST_OUTPUT_ON_FAILURE: 1
CCACHE_DIR: ${{ github.workspace }}/.ccache
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
ninja-build build-essential cmake \
libboost-all-dev libspdlog-dev libtinyxml2-dev libconfig++-dev \
libssl-dev libnl-3-dev zlib1g-dev ccache clang-tidy clang g++-12
- name: Configure (CMake)
run: |
cmake -S . -B build -GNinja -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --parallel
- name: List tests (debug)
run: ctest --test-dir build/tests -N
- name: Run unit tests
run: |
set -o pipefail
ctest --test-dir build/tests --output-on-failure -j 2 | tee build/ctest-log.txt
- name: Upload test log
if: always()
uses: actions/upload-artifact@v4
with:
name: ctest-log
path: build/ctest-log.txt
if-no-files-found: warn