Streamline release-test target
When Travis builds and tests, time is limited per build, so the overhead of re-calling CMake can push it over the limit.
This commit is contained in:
parent
baf4574ad5
commit
e0bf02a6ce
4
Makefile
4
Makefile
@ -50,9 +50,9 @@ cmake-release:
|
||||
release: cmake-release
|
||||
cd build/release && $(MAKE)
|
||||
|
||||
release-test: release
|
||||
release-test:
|
||||
mkdir -p build/release
|
||||
cd build/release && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../.. && $(MAKE) test
|
||||
cd build/release && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../.. && $(MAKE) && $(MAKE) test
|
||||
|
||||
release-all:
|
||||
mkdir -p build/release
|
||||
|
Loading…
Reference in New Issue
Block a user