From ebfe3b999b8348fc15432fb7407b4e4aa24a12cc Mon Sep 17 00:00:00 2001 From: tiankaima Date: Sat, 16 Dec 2023 01:57:34 +0800 Subject: [PATCH] fix: add DEBUG symbol when build on ci --- .github/workflows/cmake-multi-platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index ad245af..e28c9d7 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -52,7 +52,7 @@ jobs: - name: Build # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). - run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} + run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }} -D DDEFINE_DEBUG=1 - name: Test working-directory: ${{ steps.strings.outputs.build-output-dir }}/Doctests