From 95a7ee1d9a058e793ab3bd114e4fdd739d6012f9 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Thu, 16 Nov 2023 19:25:54 +0800 Subject: [PATCH] feature add other arch --- .drone.yml | 28 ++++++++++++++++++++++++++++ drone/build.yaml | 7 ++++++- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f16e5e6..ae45175 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,3 +6,31 @@ data: build_types: - Debug - Release + - image_name: linux-x86 + build_types: + - Debug + - Release + - image_name: linux-mipsel-lts + build_types: + - Debug + - Release + - image_name: linux-mips-lts + build_types: + - Debug + - Release + - image_name: linux-armv7-lts + build_types: + - Debug + - Release + - image_name: linux-armv6-lts + build_types: + - Debug + - Release + - image_name: linux-armv5-lts + build_types: + - Debug + - Release + - image_name: linux-arm64-lts + build_types: + - Debug + - Release diff --git a/drone/build.yaml b/drone/build.yaml index 46da587..8feb5f9 100644 --- a/drone/build.yaml +++ b/drone/build.yaml @@ -11,4 +11,9 @@ steps: - cmake . -Bbuild-{{$image_name}}-{{.}} -DCMAKE_BUILD_TYPE={{.}} - cmake --build build-{{$image_name}}-{{.}} --config={{.}} -- -j`nproc` {{end}} - {{ end }} \ No newline at end of file + {{ end }} + + - name: list all build dir + image: alpine + commands: + - ls -l build-* \ No newline at end of file