mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
avoid expanding empty variables
This commit is contained in:
parent
a9f5498452
commit
949089d9f3
@ -41,8 +41,9 @@ before_script:
|
||||
- cmake .. -DCMAKE_BUILD_TYPE=$CONFIG -DCMAKE_PREFIX_PATH=$PWD/../date
|
||||
|
||||
script:
|
||||
- if [[ -n "${TESTS_CXX_STD:-}" ]]; then ARGS="-DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi
|
||||
- cmake --build . --config $CONFIG ${ARGS:-}
|
||||
- ARGS="--config $CONFIG"
|
||||
- if [[ -n "${TESTS_CXX_STD:-}" ]]; then ARGS="$ARGS -DSQLPP11_TESTS_CXX_STD=$TESTS_CXX_STD"; fi
|
||||
- cmake --build . $ARGS
|
||||
- ctest --output-on-failure
|
||||
|
||||
after_script:
|
||||
|
Loading…
Reference in New Issue
Block a user