From 6d95ae5a4b67ad7fb815c7bbe096e9c4061f37e5 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Thu, 16 Nov 2023 15:41:38 +0800 Subject: [PATCH] fix cmake build, add --config Debug --- .drone.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index e6ff704..766f527 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,7 @@ steps: - name: build image: xwtkdym/ubuntu:ci commands: - - cmake . -Bbuild - - cmake --build build --target - - cmake --build build --install \ No newline at end of file + - ls -alh + - cmake . -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=install + - cmake --build build --config Debug -- -j `nproc` + - cmake --build build --config Debug --target install \ No newline at end of file