mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
make sure to specify debug or release with ctest using the Visual Studio generator
This commit is contained in:
parent
4fbb3b3fc5
commit
c8339468ae
@ -60,10 +60,12 @@ before_build:
|
||||
- cmake .. -G "%CMAKE_GENERATOR%" -DLUA_VERSION="%LUA_VERSION%" -DBUILD_LUA=ON -DBUILD_LUA_AS_DLL=OFF -DTESTS=ON -DEXAMPLES=ON -DSINGLE=ON -DTESTS_EXAMPLES=ON -DTESTS_SINGLE=ON
|
||||
|
||||
build_script:
|
||||
- cmake --build .
|
||||
- cmake --build --config Debug .
|
||||
- cmake --build --config Release .
|
||||
|
||||
test_script:
|
||||
- ctest
|
||||
- ctest -C Debug --output-on-failure
|
||||
- ctest -C Release --output-on-failure
|
||||
|
||||
notifications:
|
||||
- provider: Webhook
|
||||
|
Loading…
x
Reference in New Issue
Block a user