Github actions for MSVC

This commit is contained in:
John Wellbelove 2020-08-16 14:41:42 +01:00
parent 7d7dd89c70
commit 7dc4f77236
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
name: CI
on:
push:
branches: [ master, feature/github-actions-for-windows-compilers ]
branches: [ feature/github-actions-for-windows-compilers ]
pull_request:
branches: [ master ]
@ -30,5 +30,5 @@ jobs:
- name: Build and run
run: |
cmake -DNO_STL=1 ./
cmake -DNO_STL=ON ./
MSBuild etl.sln

View File

@ -3,7 +3,9 @@ project(etl_unit_tests)
add_definitions(-DETL_DEBUG)
if (${NO_STL})
option(NO_STL "No STL" OFF)
if (NO_STL)
message(STATUS "Compiling for No STL")
add_definitions(-DETL_NO_STL)
endif()