Skip to content

test

test #3

Workflow file for this run

name: test
on:
push:
paths:
- "src/**"
- "test/**"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: ConorMacBride/install-package@v1
with:
apt: gcc-11 g++-11 libreadline-dev libyaml-cpp-dev valgrind
version: latest
platform: x64
- run: |
pip install cogapp
- run: |
mkdir -p build
cd build
cmake -DBUILD_JSD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug ..
make
make test
env CTEST_OUTPUT_ON_FAILURE=1 make -d memcheck
env:
CC: gcc-11
CXX: g++-11