Skip to content

Add CMake install target #35

Add CMake install target

Add CMake install target #35

Workflow file for this run

name: Windows
on:
push:
paths-ignore:
- '**.md'
- 'LICENSE'
- 'assets/**'
pull_request:
paths-ignore:
- '**.md'
- 'LICENSE'
- 'assets/**'
workflow_dispatch:
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
defaults:
run:
shell: pwsh
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Configure
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}