Skip to content

Use upload-download artifacts #242

Use upload-download artifacts

Use upload-download artifacts #242

Workflow file for this run

name: Windows Cpp
on: [push, pull_request]
jobs:
# Building using the github runner environement directly.
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Check swig
run: swig -version
- name: Check cmake
run: cmake --version
- name: Configure
run: cmake -S. -Bbuild -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_PYTHON=OFF
- name: Build
run: cmake --build build --config Release --target ALL_BUILD -- /verbosity:normal /maxcpucount
- name: Test (cd into build)
run: cd build && ctest --verbose -C Release
- name: Test
run: cmake --build build --config Release --target RUN_TESTS -- /verbosity:normal /maxcpucount
- name: Install
run: cmake --build build --config Release --target INSTALL -- /verbosity:normal /maxcpucount