This commit is contained in:
parent
bdbfd8e4cb
commit
5a48f6ae94
28
.drone.yml
28
.drone.yml
@ -2,12 +2,36 @@ kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
matrix:
|
||||
BUILD_TYPE:
|
||||
- Debug
|
||||
- Release
|
||||
|
||||
steps:
|
||||
- name: configure
|
||||
- name: build gcc x64
|
||||
image: dockcross/linux-x64
|
||||
pull: if-not-exists
|
||||
commands:
|
||||
- cmake . -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user