31 lines
659 B
YAML
31 lines
659 B
YAML
|
when:
|
||
|
- event:
|
||
|
- push
|
||
|
- pull_request
|
||
|
|
||
|
matrix:
|
||
|
BUILD_TYPE:
|
||
|
- Debug
|
||
|
- Release
|
||
|
|
||
|
steps:
|
||
|
- 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
|
||
|
|
||
|
|