mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-26 20:38:45 +08:00
Github actions for MSVC
This commit is contained in:
parent
8577e8e5f2
commit
2ea9aece4f
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user