This commit is contained in:
parent
df2cf65577
commit
919914d4ba
@ -1,10 +1,10 @@
|
||||
kind: pipeline
|
||||
type: build.yaml
|
||||
type: drone/build.yaml
|
||||
|
||||
data:
|
||||
image_name: x64
|
||||
build:
|
||||
- arch: x64
|
||||
- arch: x64-Debug
|
||||
type: Debug
|
||||
- arch: x64
|
||||
- arch: x64-Release
|
||||
type: Release
|
||||
|
11
drone/build.yaml
Normal file
11
drone/build.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
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 }}
|
Loading…
x
Reference in New Issue
Block a user