0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-26 21:04:25 +08:00

Update github action to trigger defines via CMake

Use options via explicit CMake defines, instead of calling them from
the generic PUGI_BUILD_DEFINES variable.
This commit is contained in:
Björn Blissing 2021-06-28 12:58:16 +02:00
parent 50b103f127
commit 92ac6ac1d9

View File

@ -42,7 +42,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: cmake configure - name: cmake configure
run: cmake . -DPUGIXML_BUILD_TESTS=ON -DPUGIXML_BUILD_DEFINES=${{matrix.defines}} -A ${{matrix.arch}} run: cmake . -DPUGIXML_BUILD_TESTS=ON -D${{matrix.defines}}=ON -A ${{matrix.arch}}
- name: cmake test - name: cmake test
shell: bash # necessary for fail-fast shell: bash # necessary for fail-fast
run: | run: |