feature support matrix build
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
tqcq 2023-11-16 16:16:09 +08:00
parent e216514975
commit 1069fa55f9
2 changed files with 26 additions and 5 deletions

View File

@ -1,11 +1,30 @@
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: xwtkdym/ubuntu:ci
image: dockcross/${OS}-${ARCH}
commands:
- ls -alh
- cmake . -Bbuild -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=install
- cmake --build build --config Debug -- -j `nproc`
# - cmake --build build --config Debug --target install
- 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

View File

@ -1,3 +1,5 @@
# ulib
基于C++11的框架
基于C++11的框架
[![Build Status](https://ci.uocat.com/api/badges/tqcq/ulib/status.svg)](https://ci.uocat.com/tqcq/ulib)