19 lines
402 B
YAML
19 lines
402 B
YAML
when:
|
|
- event: push
|
|
|
|
matrix:
|
|
BUILD_TYPE:
|
|
- Debug
|
|
- Release
|
|
|
|
steps:
|
|
- name: linux-x64-gcc
|
|
image: art.uocat.com/docker/tqcq/cross:v1.0.0
|
|
commands:
|
|
- mkdir build && cd build
|
|
- cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON ..
|
|
- cmake --build build -j $(nproc)
|
|
- cd build
|
|
- ctest --output-on-failure -j $(nproc)
|
|
|