fix cmake build, add --config Debug
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
tqcq 2023-11-16 15:41:38 +08:00
parent be46b988d1
commit 6d95ae5a4b

View File

@ -5,6 +5,7 @@ steps:
- name: build - name: build
image: xwtkdym/ubuntu:ci image: xwtkdym/ubuntu:ci
commands: commands:
- cmake . -Bbuild - ls -alh
- cmake --build build --target - cmake . -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=install
- cmake --build build --install - cmake --build build --config Debug -- -j `nproc`
- cmake --build build --config Debug --target install