Skip to content

test

test #7

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: Bacondish2023/setup-googletest@v1
with:
tag: release-1.11.0
- 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 pyyaml
- 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