From bdbfd8e4cb0fca5492ee697c2238d306e7249ca3 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Thu, 16 Nov 2023 17:24:28 +0800 Subject: [PATCH] feature update drone --- .drone.yml | 38 ++++++++++++-------------------------- 1 file changed, 12 insertions(+), 26 deletions(-) diff --git a/.drone.yml b/.drone.yml index a486b53..0550c4b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,30 +1,16 @@ -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 +steps: + - name: configure + image: dockcross/linux-x64 + pull: if-not-exists + commands: + - cmake . -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} +trigger: + ref: + - refs/heads/develop + - refs/heads/master + - refs/tags/** + - refs/pull/**