Github actions for MSVC

This commit is contained in:
John Wellbelove 2020-08-12 10:17:51 +01:00
parent 8577e8e5f2
commit 2ea9aece4f
2 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,7 @@ jobs:
- name: Build and run
run: |
cmake ./
cmake -DNO_STL=0 ./
MSBuild etl.sln
build-visual-studio-no-stl:
@ -30,5 +30,5 @@ jobs:
- name: Build and run
run: |
cmake -DETL_NO_STL=1 ./
cmake -DNO_STL=1 ./
MSBuild etl.sln

View File

@ -3,6 +3,10 @@ project(etl_unit_tests)
add_definitions(-DETL_DEBUG)
if (NO_STL EQUAL 1)
add_definitions(-DETL_NO_STL)
endif()
if(NOT UnitTest++_FOUND)
# Add unittest-cpp as an ExternalProject
include(cmake/unit-test_external_project.cmake)