Skip to content

Merge pull request #33 from Pospelove/patch-1 #107

Merge pull request #33 from Pospelove/patch-1

Merge pull request #33 from Pospelove/patch-1 #107

Workflow file for this run

name: CMake-Windows
on: [push, pull_request]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- name: Build
working-directory: ${{github.workspace}}/build
shell: bash
run: cmake --build . --config $BUILD_TYPE
- name: Archive artifacts
uses: actions/upload-artifact@v2
with:
name: test.exe
path: ${{github.workspace}}/build/Release/test.exe