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

37 lines
886 B
Plaintext
Raw Normal View History

2024-08-09 22:26:20 +08:00
when:
2024-08-09 23:02:44 +08:00
- event:
- push
- pull_request
2024-08-09 23:15:17 +08:00
- path:
include:
- ".woodpecker/linux-x86-gcc.yml"
- "cmake/**"
- "third_party/**"
- "tile/**"
- "CMakeLists.txt"
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 23:02:44 +08:00
- name: linux-x86-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
2024-08-09 23:02:44 +08:00
- cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON -DCMAKE_TOOLCHAIN_FILE=./toolchains/host.gcc-m32.toolchain.cmake
2024-08-09 22:26:20 +08:00
- cmake --build build -j $(nproc)
2024-08-09 22:55:29 +08:00
2024-08-09 23:02:44 +08:00
- name: linux-x86-gcc-test
2024-08-09 22:55:29 +08:00
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 23:02:44 +08:00
- name: linux-x86-gcc-benchmark
2024-08-09 22:55:29 +08:00
image: art.uocat.com/docker/tqcq/cross:v1.0.1
commands:
- ./build/bin/tile_bm_all