ulib/drone/build.yaml
tqcq 919914d4ba
Some checks reported errors
continuous-integration/drone/push Build was killed
test template
2023-11-16 18:49:01 +08:00

11 lines
317 B
YAML

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 }}