add build_types
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
tqcq 2023-11-16 19:43:57 +08:00
parent aa68f8bbd4
commit f20a3e7127

View File

@ -8,10 +8,9 @@ steps:
- name: build {{ .image_name }}
image: dockcross/{{ .image_name }}
commands:
{{ $build_types := $default_build_types }}
{{ if .build_types }}
{{ $build_types := .build_types }}
{{ else }}
{{ $build_types := $default_build_types }}
{{ end }}
{{ range $build_types }}
- cmake . -Bbuild-{{$image_name}}-{{.}} -DCMAKE_BUILD_TYPE={{.}}