Skip to content

Using openalgz ut and more actions #1

Using openalgz ut and more actions

Using openalgz ut and more actions #1

Workflow file for this run

name: msvc
on:
push:
branches:
- main
- 'feature/*'
paths-ignore:
- '**.md'
pull_request:
branches: [main]
paths-ignore:
- '**.md'
workflow_dispatch:
env:
CTEST_OUTPUT_ON_FAILURE: 1
BUILD_TYPE: Debug
jobs:
build:
runs-on: windows-latest
timeout-minutes: 10
strategy:
matrix:
cpp_version: [20, 23]
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_CXX_STANDARD=${{matrix.cpp_version}}
- name: Build
run: cmake --build build --config ${{env.BUILD_TYPE}} --parallel
- name: Test
working-directory: build
run: ctest --build-config ${{env.BUILD_TYPE}}