Skip to content

Commit

Permalink
Enable PUGIXML_STRING_VIEW when building tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brandl-muc committed Sep 13, 2024
1 parent e9da0a6 commit d7c5eee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: make test
run: |
export CXX=${{matrix.compiler}}
make test cxxstd=c++17 defines=${{matrix.defines}} config=release pugiflags=-DPUGIXML_STRING_VIEW -j2
make test cxxstd=c++11 defines=${{matrix.defines}} config=release -j2
make test cxxstd=c++98 defines=${{matrix.defines}} config=debug -j2
make test defines=${{matrix.defines}} config=sanitize -j2
Expand All @@ -42,7 +43,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: cmake configure
run: cmake . -DPUGIXML_BUILD_TESTS=ON -D${{matrix.defines}}=ON -A ${{matrix.arch}}
run: cmake . -DPUGIXML_BUILD_TESTS=ON -D${{matrix.defines}}=ON -DPUGIXML_STRING_VIEW=ON -A ${{matrix.arch}}
- name: cmake test
shell: bash # necessary for fail-fast
run: |
Expand Down

0 comments on commit d7c5eee

Please sign in to comment.