From d7c5eeed4fdea0389647770803f82599ab1bdc22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matth=C3=A4us=20Brandl?= Date: Fri, 13 Sep 2024 22:40:29 +0200 Subject: [PATCH] Enable PUGIXML_STRING_VIEW when building tests --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf6948b8..96c6290b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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: |