Commit 64becf28f3dd454b83331b82d3ccc149f1c243ce
Committed by
GitHub
Merge pull request #52 from thedrow/patch-2
Compile and test with 2 jobs in CI
Showing
1 changed file
with
2 additions
and
2 deletions
make-ci.sh
| ... | ... | @@ -18,14 +18,14 @@ cd googletest |
| 18 | 18 | mkdir build |
| 19 | 19 | cd build |
| 20 | 20 | cmake -DBUILD_GMOCK=OFF -DBUILD_GTEST=ON -DBUILD_SHARED_LIBS=ON .. |
| 21 | -time make | |
| 21 | +time make -j2 | |
| 22 | 22 | cd ../.. |
| 23 | 23 | sudo cp googletest/build/googletest/libg* /usr/local/lib/ |
| 24 | 24 | sudo cp -r googletest/googletest/include/gtest /usr/local/include |
| 25 | 25 | |
| 26 | 26 | # Make redox |
| 27 | 27 | cmake -Dexamples=ON -Dlib=ON -Dstatic_lib=ON -Dtests=ON .. |
| 28 | -time make VERBOSE=1 | |
| 28 | +time make -j2 VERBOSE=1 | |
| 29 | 29 | |
| 30 | 30 | # Test redox |
| 31 | 31 | sudo service redis-server restart | ... | ... |