Skip to content

[cicd] test v2

[cicd] test v2 #672

Workflow file for this run

name: CMake4Win
on:
push:
branches: [ cicd ]
pull_request:
branches: [ cicd ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
cpp_std: [11, 14, 17, 20]
include:
- cpp_std: 11
build_type: Release
- cpp_std: 14
build_type: Release
- cpp_std: 17
build_type: Release
- cpp_std: 20
build_type: Release
steps:
- uses: actions/checkout@v2
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.cpp_std}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}