mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
use make -j
This commit is contained in:
parent
ab1624c0fe
commit
981124520c
8
.travis.yml
Normal file → Executable file
8
.travis.yml
Normal file → Executable file
@ -28,15 +28,11 @@ script:
|
||||
- cd ./build
|
||||
- if [ $USING_CMAKE -eq 1 ]; then
|
||||
cmake -DCMAKE_BUILD_TYPE=Release CMakeLists.txt;
|
||||
make;
|
||||
export IPC_TARGET=test-ipc;
|
||||
else
|
||||
qmake -o Makefile cpp-ipc.pro QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX QMAKE_CXXFLAGS+=-std=gnu++1z;
|
||||
make;
|
||||
make -f MakefileTest;
|
||||
export IPC_TARGET=test;
|
||||
fi
|
||||
- export LD_LIBRARY_PATH=../output:$LD_LIBRARY_PATH && ../output/$IPC_TARGET
|
||||
- make -j`getconf _NPROCESSORS_ONLN`
|
||||
- export LD_LIBRARY_PATH=../output:$LD_LIBRARY_PATH && ../output/test-ipc
|
||||
|
||||
notifications:
|
||||
slack:
|
||||
|
||||
1
build/test/test.pro
Normal file → Executable file
1
build/test/test.pro
Normal file → Executable file
@ -1,4 +1,5 @@
|
||||
TEMPLATE = app
|
||||
TARGET = test-ipc
|
||||
|
||||
QT += core testlib
|
||||
QT -= gui
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user