Skip to content

let unit test run successfully #12

let unit test run successfully

let unit test run successfully #12

Workflow file for this run

# Template: https://github.com/actions/starter-workflows/blob/main/ci/cmake-multi-platform.yml
name: Build On Windows
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install Conan
run: |
pip install conan==2.6.0
conan profile detect
- name: Configure CMake
working-directory: ${{github.workspace}}
run: |
conan install . --build=missing
cmake --preset cmake-project-default -DWITH_GTEST=ON
- name: Build Targets
working-directory: ${{github.workspace}}
run: cmake --build --preset cmake-project-release
- name: Run Unit Test
working-directory: ${{github.workspace}}
run: |
cmake --build --preset cmake-project-release -t tests
.\build\test\Release\gtest-testrun.exe