ulib/drone/build.yaml

11 lines
317 B
YAML
Raw Normal View History

2023-11-16 18:49:01 +08:00
kind: pipeline
type: docker
name: default
steps:
- name: build {{ .input.image_name }}
image: dockcross/{{ .input.image_name }}
commands:
{{ range .input.build }}
- cmake . -Bbuild-{{.arch}} -DCMAKE_BUILD_TYPE={{.type}}
- cmake --build build-{.arch} --config={{.type}} -- -j`nproc`
{{ end }}