ulib/.drone.yml
tqcq 1069fa55f9
Some checks reported errors
continuous-integration/drone/push Build encountered an error
feature support matrix build
2023-11-16 16:16:09 +08:00

31 lines
572 B
YAML

matrix:
BUILD_TYPE:
- Debug
- Release
OS:
- linux
ARCH:
- x64-clang
- x86
- riscv64
- riscv32
- mips-lts
- mipsel-lts
- armv7-lts
- armv6-lts
- arm64-lts
- arm64-musl
kind: pipeline
type: docker
name: default
steps:
- name: build
image: dockcross/${OS}-${ARCH}
commands:
- ls -alh
- cmake . -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=install
- cmake --build build --config ${BUILD_TYPE} -- -j `nproc`
# - cmake --build build --config Debug --target install