mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-19 06:47:44 +00:00
ad nlohmann
This commit is contained in:
parent
4eba7495da
commit
ff25f6a1bb
1 changed files with 7 additions and 0 deletions
7
.github/workflows/cmake-multi-platform.yml
vendored
7
.github/workflows/cmake-multi-platform.yml
vendored
|
@ -242,6 +242,13 @@ jobs:
|
||||||
cmake -B ${{ steps.strings.outputs.build-output-dir }}-corrosion -DCMAKE_PREFIX_PATH=${{ steps.strings.outputs.prefix-dir }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S corrosion -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DCORROSION_BUILD_TESTS=OFF
|
cmake -B ${{ steps.strings.outputs.build-output-dir }}-corrosion -DCMAKE_PREFIX_PATH=${{ steps.strings.outputs.prefix-dir }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S corrosion -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DCORROSION_BUILD_TESTS=OFF
|
||||||
cmake --build ${{ steps.strings.outputs.build-output-dir }}-corrosion --target install
|
cmake --build ${{ steps.strings.outputs.build-output-dir }}-corrosion --target install
|
||||||
|
|
||||||
|
- name: Build nlohmann
|
||||||
|
if: steps.cache-prefix.outputs.cache-hit != 'true'
|
||||||
|
run: |
|
||||||
|
git clone https://github.com/nlohmann/json.git
|
||||||
|
cmake -B ${{ steps.strings.outputs.build-output-dir }}-nlohmann -DCMAKE_PREFIX_PATH=${{ steps.strings.outputs.prefix-dir }} -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S json "H"-DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DBUILD_TESTING=OFF
|
||||||
|
cmake --build ${{ steps.strings.outputs.build-output-dir }}-nlohmann --target install
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: >
|
run: >
|
||||||
cmake -B ${{ steps.strings.outputs.build-output-dir }}
|
cmake -B ${{ steps.strings.outputs.build-output-dir }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue