feature test pipeline
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
tqcq 2023-11-16 17:34:31 +08:00
parent bdbfd8e4cb
commit 5a48f6ae94

View File

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