CI: use cmake --build command to build a project (#9)
This way we hide the real build system and thus, can replace Makefiles with Ninja and we won't have to change the build command. --clean-first parameter will invoke clean target before building.
This commit is contained in:
committed by
Steve Karg
parent
b22f745c79
commit
ac491d4d39
+1
-1
@@ -13,7 +13,7 @@ jobs:
|
||||
- stage: demos-build-cmake
|
||||
os: linux
|
||||
compiler: gcc
|
||||
script: mkdir build && cd build && cmake .. && make clean all
|
||||
script: mkdir build && cd build && cmake .. && cmake --build . --clean-first
|
||||
- stage: gateway-build
|
||||
os: linux
|
||||
compiler: gcc
|
||||
|
||||
Reference in New Issue
Block a user