From 316b75dd13a55933638af5a2306e86ef62d0e8d7 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 9 Aug 2024 22:55:29 +0800 Subject: [PATCH] feat add benchmark --- .woodpecker/linux-x86-gcc.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.woodpecker/linux-x86-gcc.yml b/.woodpecker/linux-x86-gcc.yml index 985e6ab..a62ca59 100644 --- a/.woodpecker/linux-x86-gcc.yml +++ b/.woodpecker/linux-x86-gcc.yml @@ -7,12 +7,22 @@ matrix: - Release steps: - - name: linux-x64-gcc + - name: linux-x64-gcc-build image: art.uocat.com/docker/tqcq/cross:v1.0.1 commands: - mkdir build - cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON - cmake --build build -j $(nproc) + + - name: linux-x64-gcc-test + image: art.uocat.com/docker/tqcq/cross:v1.0.1 + commands: - cd build - ctest --output-on-failure -j $(nproc) + - name: linux-x64-gcc-benchmark + image: art.uocat.com/docker/tqcq/cross:v1.0.1 + commands: + - ./build/bin/tile_bm_all + +