Skip to content

merge with main

merge with main #50

Workflow file for this run

name: tests
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main" ]
jobs:
build_job:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
with:
submodules: true
- uses: actions/cache@v3
with:
path: build/vcpkg_installed
key: ${{ runner.os }}-vcpkg-${{ hashFiles('./vcpkg.json') }}
restore-keys: ${{ runner.os }}-vcpkg-
- name: installing
run: |
sudo apt install cmake make g++ clang-tidy
git clone https://github.com/microsoft/vcpkg
- name: configuring
run: cmake -DCMAKE_TOOLCHAIN_FILE=${PWD}/vcpkg/scripts/buildsystems/vcpkg.cmake -S . -B build -DBUILD_TESTING=ON
- name: building
run: cmake --build build -j $(nproc)
- name: testing
run: ctest -VV --test-dir build/tests