ulib/.drone.yml

31 lines
572 B
YAML
Raw Normal View History

2023-11-16 16:16:09 +08:00
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
2023-11-16 15:36:29 +08:00
kind: pipeline
type: docker
name: default
steps:
- name: build
2023-11-16 16:16:09 +08:00
image: dockcross/${OS}-${ARCH}
2023-11-16 15:36:29 +08:00
commands:
2023-11-16 15:41:38 +08:00
- ls -alh
2023-11-16 16:16:09 +08:00
- 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