feature rename CURRENT_BUILD_DIR to BUILD_DIR
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ed959fe46a
commit
d4fc2cb4e9
@ -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 }}
|
||||
- {{ . }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user