tidy up on shutdown to allow multiple init
/shutdown
cycles per process
#410
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: windows | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')" | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: true | |
- name: configure | |
run: cd test && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug -DPOLYSCOPE_BACKEND_OPENGL3_GLFW=ON -DPOLYSCOPE_BACKEND_OPENGL_MOCK=ON .. | |
- name: build | |
run: cd test/build && cmake --build "." | |
- name: run test | |
run: cd test/build && ./bin/Debug/polyscope-test.exe --gtest_catch_exceptions=0 backend=openGL_mock | |
# windows shared builds: disabled for now | |
#build_shared: | |
#runs-on: windows-latest | |
#if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')" | |
#steps: | |
#- uses: actions/checkout@v1 | |
#with: | |
#submodules: true | |
#- name: configure | |
#run: cd test && mkdir build && cd build && cmake -DBUILD_SHARED_LIBS=TRUE -DCMAKE_BUILD_TYPE=Debug -DPOLYSCOPE_BACKEND_OPENGL3_GLFW=ON -DPOLYSCOPE_BACKEND_OPENGL_MOCK=ON .. | |
#- name: build | |
#run: cd test/build && cmake --build "." | |
#- name: run test | |
#run: cd test/build && ./bin/Debug/polyscope-test.exe --gtest_catch_exceptions=0 backend=openGL_mock |