feat add benchmark
All checks were successful
ci/woodpecker/push/linux-x86-gcc/1 Pipeline was successful
ci/woodpecker/push/linux-x86-gcc/2 Pipeline was successful

This commit is contained in:
tqcq 2024-08-09 22:55:29 +08:00
parent 0c35a0578d
commit 316b75dd13

View File

@ -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