This commit is contained in:
parent
5a48f6ae94
commit
df2cf65577
46
.drone.yml
46
.drone.yml
@ -1,40 +1,10 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: build.yaml
|
||||||
name: default
|
|
||||||
|
|
||||||
matrix:
|
data:
|
||||||
BUILD_TYPE:
|
image_name: x64
|
||||||
- Debug
|
build:
|
||||||
- Release
|
- arch: x64
|
||||||
|
type: Debug
|
||||||
steps:
|
- arch: x64
|
||||||
- name: build gcc x64
|
type: Release
|
||||||
image: dockcross/linux-x64
|
|
||||||
pull: if-not-exists
|
|
||||||
commands:
|
|
||||||
- cmake . -Bbuild-x64 -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
|
||||||
- cmake --build build-x64 --config ${BUILD_TYPE} -- -j`nproc`
|
|
||||||
- name: build mips lts
|
|
||||||
image: dockcross/linux-mips-lts
|
|
||||||
pull: if-not-exists
|
|
||||||
commands:
|
|
||||||
- cmake . -Bbuild-mips-lts -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
|
||||||
- cmake --build build-mips-lts --config ${BUILD_TYPE} -- -j`nproc`
|
|
||||||
- name: build mipsel -lts
|
|
||||||
image: dockcross/linux-mipsel-lts
|
|
||||||
pull: if-not-exists
|
|
||||||
commands:
|
|
||||||
- cmake . -Bbuild-mipsel-lts -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
|
||||||
- cmake --build build-mipsel-lts --config ${BUILD_TYPE} -- -j`nproc`
|
|
||||||
- name: build arm64 lts
|
|
||||||
image: dockcross/linux-arm64-lts
|
|
||||||
pull: if-not-exists
|
|
||||||
commands:
|
|
||||||
- cmake . -Bbuild-arm64-lts -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
|
||||||
- cmake --build build-arm64-lts --config ${BUILD_TYPE} -- -j`nproc`
|
|
||||||
trigger:
|
|
||||||
ref:
|
|
||||||
- refs/heads/develop
|
|
||||||
- refs/heads/master
|
|
||||||
- refs/tags/**
|
|
||||||
- refs/pull/**
|
|
||||||
|
Loading…
Reference in New Issue
Block a user