gitlab: (partial fix to #330) run CI tests in optimized and release only.

This commit is contained in:
Tommaso Pecorella
2021-02-06 02:44:06 +00:00
parent 6b6e630165
commit f158e46fa7
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/$CCACHE_BASEDIR_VALUE
- CXX="ccache $COMPILER" ./waf configure --enable-examples --enable-tests --disable-gtk --disable-python -d $MODE
- ./test.py $VALGRIND_FLAG $FULLNESS
- ./test.py --nowaf $VALGRIND_FLAG $FULLNESS
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:

View File

@@ -37,9 +37,9 @@ stages:
- mkdir -p $CCACHE_BASEDIR_VALUE
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/$CCACHE_BASEDIR_VALUE
- CXX="ccache $COMPILER" ./waf configure --enable-examples --enable-tests -d $MODE
- CXX="ccache $COMPILER" ./waf configure --enable-examples --enable-tests --enable-asserts -d $MODE
- ./waf
- ./test.py
- if [ "$MODE" != "debug" ]; then ./test.py --nowaf; fi
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths: