Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
fix: add DEBUG symbol when build on ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tiankaima committed Dec 15, 2023
1 parent 799b3d3 commit 48489ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ 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 -DDEFINE_DEBUG=1 ${{ steps.strings.outputs.build-output-dir }}
cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}
- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}/Doctests
Expand Down

0 comments on commit 48489ae

Please sign in to comment.