feat update matrix
Some checks failed
ci/woodpecker/push/linux-x86-gcc/2 Pipeline failed
ci/woodpecker/push/linux-x86-gcc/1 Pipeline failed

This commit is contained in:
tqcq 2024-08-09 22:33:17 +08:00
parent 7147550080
commit 87c93ca7d8

View File

@ -1,12 +1,17 @@
when: when:
- event: push - event: push
matrix:
BUILD_TYPE:
- Debug
- Release
steps: steps:
- name: linux-x64-gcc - name: linux-x64-gcc
image: art.uocat.com/docker/tqcq/cross:v1.0.0 image: art.uocat.com/docker/tqcq/cross:v1.0.0
commands: commands:
- mkdir build && cd build - mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON .. - cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_BENCHMARKS=ON -DTILE_BUILD_TESTS=ON ..
- cmake --build build -j $(nproc) - cmake --build build -j $(nproc)
- cd build - cd build
- ctest --output-on-failure -j $(nproc) - ctest --output-on-failure -j $(nproc)