Skip to content

fix

fix #8

Workflow file for this run

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