diff options
author | Björn Blissing <bjorn.blissing@vti.se> | 2021-06-28 12:58:16 +0200 |
---|---|---|
committer | Björn Blissing <bjorn.blissing@vti.se> | 2021-06-28 13:17:06 +0200 |
commit | 92ac6ac1d97c9e0616dd07dcc2c708d44e9f33b9 (patch) | |
tree | 6e84388ece48bdabfcf9003c7e22609162d81661 /.github | |
parent | 50b103f127180a7087fa8c4105cd91283ce0a310 (diff) | |
download | pugixml-92ac6ac1d97c9e0616dd07dcc2c708d44e9f33b9.zip pugixml-92ac6ac1d97c9e0616dd07dcc2c708d44e9f33b9.tar.gz pugixml-92ac6ac1d97c9e0616dd07dcc2c708d44e9f33b9.tar.bz2 |
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.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9462f90..bf6948b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: steps: - uses: actions/checkout@v1 - 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 shell: bash # necessary for fail-fast run: | |