From 87c93ca7d80373316b6d3900e8f98819b595317a Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 9 Aug 2024 22:33:17 +0800 Subject: [PATCH] feat update matrix --- .woodpecker/linux-x86-gcc.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.woodpecker/linux-x86-gcc.yml b/.woodpecker/linux-x86-gcc.yml index 4bd9d34..cb2a171 100644 --- a/.woodpecker/linux-x86-gcc.yml +++ b/.woodpecker/linux-x86-gcc.yml @@ -1,12 +1,17 @@ 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=${{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) - cd build - ctest --output-on-failure -j $(nproc)