From d4fc2cb4e9114fedadbeb584c8236f9d22644cef Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 17 Nov 2023 11:53:43 +0800 Subject: [PATCH] feature rename CURRENT_BUILD_DIR to BUILD_DIR --- drone/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drone/build.yaml b/drone/build.yaml index a5bbaca..084d070 100644 --- a/drone/build.yaml +++ b/drone/build.yaml @@ -23,7 +23,7 @@ steps: {{ range $build_types }} - export BUILD_TYPE={{.}} - - export CURRENT_BUILD_DIR=build-{{$image_name}}-{{.}} + - export BUILD_DIR=build-{{$image_name}}-{{.}} - echo $BUILD_TYPE - echo $CURRENT_BUILD_DIR @@ -31,8 +31,8 @@ steps: - {{ . }} {{ end }} - - cmake . -B$CURRENT_BUILD_DIR -DCMAKE_BUILD_TYPE=$BUILD_TYPE - - cmake --build $CURRENT_BUILD_DIR --config $BUILD_TYPE -- -j`nproc` + - cmake . -B$BUILD_DIR -DCMAKE_BUILD_TYPE=$BUILD_TYPE + - cmake --build $BUILD_DIR --config $BUILD_TYPE -- -j`nproc` {{ range $after_commands }} - {{ . }}