Skip to content

v0.0.7

v0.0.7 #139

Workflow file for this run

name: CMake
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
BUILD_TYPE: Release
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Valgrind
run: sudo apt install valgrind
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure -T memcheck --overwrite MemoryCheckCommandOptions="--leak-check=full"
# build-windows:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v3
# - name: Install MinGW
# uses: egor-tensin/setup-mingw@v2
# with:
# platform: x64
# - name: Configure CMake
# run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -G "MinGW Makefiles"
# - name: Build
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
# - name: Test
# working-directory: ${{github.workspace}}/build
# run: ctest -C ${{env.BUILD_TYPE}} --output-on-failure