Skip to content

Private/tomasbw/cmake settings #30

Private/tomasbw/cmake settings

Private/tomasbw/cmake settings #30

Workflow file for this run

name: CMake
permissions: read-all
on:
pull_request:
env:
BUILD_TYPE: Debug
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBUILD_UNITTESTS:BOOL=ON
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build/unittests/
run: ./safestring_test