feature update
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
95a7ee1d9a
commit
02710657a9
27
.drone.yml
27
.drone.yml
@ -3,34 +3,11 @@ load: build.yaml
|
||||
data:
|
||||
builds:
|
||||
- image_name: linux-x64
|
||||
build_types:
|
||||
- Debug
|
||||
- Release
|
||||
- image_name: linux-x86
|
||||
build_types:
|
||||
- Debug
|
||||
- Release
|
||||
- image_name: linux-mipsel-lts
|
||||
build_types:
|
||||
- Debug
|
||||
- Release
|
||||
- image_name: linux-mips-lts
|
||||
build_types:
|
||||
- Debug
|
||||
- Release
|
||||
- image_name: linux-armv7-lts
|
||||
build_types:
|
||||
- Debug
|
||||
- Release
|
||||
- image_name: linux-armv6-lts
|
||||
build_types:
|
||||
- Debug
|
||||
- Release
|
||||
- image_name: linux-armv5-lts
|
||||
build_types:
|
||||
- Debug
|
||||
- Release
|
||||
- image_name: linux-armv5
|
||||
- image_name: linux-armv5-musl
|
||||
- image_name: linux-arm64-lts
|
||||
build_types:
|
||||
- Debug
|
||||
- Release
|
||||
|
@ -7,7 +7,12 @@ steps:
|
||||
- name: build {{ .image_name }}
|
||||
image: dockcross/{{ .image_name }}
|
||||
commands:
|
||||
{{ range .build_types }}
|
||||
{{ if .build_types }}
|
||||
{{ $build_types := .build_types }}
|
||||
{{ else }}
|
||||
{{ $build_types := list Debug Release }}
|
||||
{{ end }}
|
||||
{{ range $build_types }}
|
||||
- cmake . -Bbuild-{{$image_name}}-{{.}} -DCMAKE_BUILD_TYPE={{.}}
|
||||
- cmake --build build-{{$image_name}}-{{.}} --config={{.}} -- -j`nproc`
|
||||
{{end}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user