feature rename CURRENT_BUILD_DIR to BUILD_DIR
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
tqcq 2023-11-17 11:53:43 +08:00
parent ed959fe46a
commit d4fc2cb4e9

View File

@ -23,7 +23,7 @@ steps:
{{ range $build_types }} {{ range $build_types }}
- export BUILD_TYPE={{.}} - export BUILD_TYPE={{.}}
- export CURRENT_BUILD_DIR=build-{{$image_name}}-{{.}} - export BUILD_DIR=build-{{$image_name}}-{{.}}
- echo $BUILD_TYPE - echo $BUILD_TYPE
- echo $CURRENT_BUILD_DIR - echo $CURRENT_BUILD_DIR
@ -31,8 +31,8 @@ steps:
- {{ . }} - {{ . }}
{{ end }} {{ end }}
- cmake . -B$CURRENT_BUILD_DIR -DCMAKE_BUILD_TYPE=$BUILD_TYPE - cmake . -B$BUILD_DIR -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- cmake --build $CURRENT_BUILD_DIR --config $BUILD_TYPE -- -j`nproc` - cmake --build $BUILD_DIR --config $BUILD_TYPE -- -j`nproc`
{{ range $after_commands }} {{ range $after_commands }}
- {{ . }} - {{ . }}