tile/.woodpecker/linux-x86-gcc.yml

29 lines
632 B
YAML
Raw Normal View History

2024-08-09 22:26:20 +08:00
when:
- event: push
2024-08-09 22:33:17 +08:00
matrix:
BUILD_TYPE:
- Debug
- Release
2024-08-09 22:26:20 +08:00
steps:
2024-08-09 22:55:29 +08:00
- name: linux-x64-gcc-build
2024-08-09 22:50:02 +08:00
image: art.uocat.com/docker/tqcq/cross:v1.0.1
2024-08-09 22:26:20 +08:00
commands:
2024-08-09 22:53:46 +08:00
- mkdir build
- cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON
2024-08-09 22:26:20 +08:00
- cmake --build build -j $(nproc)
2024-08-09 22:55:29 +08:00
- name: linux-x64-gcc-test
image: art.uocat.com/docker/tqcq/cross:v1.0.1
commands:
2024-08-09 22:26:20 +08:00
- cd build
- ctest --output-on-failure -j $(nproc)
2024-08-09 22:55:29 +08:00
- name: linux-x64-gcc-benchmark
image: art.uocat.com/docker/tqcq/cross:v1.0.1
commands:
- ./build/bin/tile_bm_all