Skip to content

Minor optimization

Minor optimization #32

name: Unit Test (Windows, MSVC)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
# Run unittest on debug config only
BUILD_TYPE: Debug
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Configure CMake
run: cmake -B ./build -DTEST=ON
- name: Build
# Build your program with the given configuration
run: cmake --build ./build --config Debug
- name: Test
working-directory: ${{github.workspace}}/build/test
run: .\Debug\PeanutTest.exe