mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-28 05:18:43 +08:00
Github actions for MSVC
This commit is contained in:
parent
7d7dd89c70
commit
7dc4f77236
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user