Files
maxDcb-C2Core/.github/workflows/Tests_Linux.yml
T
maxdcb c34c66aee3 Minor
2025-09-02 16:18:35 +02:00

28 lines
612 B
YAML

name: C2Core Tests (Linux)
on:
push:
branches:
- master
workflow_dispatch:
jobs:
test-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y cmake g++ curl make libssl-dev libsmbclient-dev pkg-config
- name: Configure with CMake
run: cmake -S . -B build -DC2CORE_BUILD_TESTS=ON
- name: Build
run: cmake --build build -j$(nproc)
- name: Run tests
run: ctest --test-dir build --output-on-failure