From ff25f6a1bbe8f8183d8d6d1c5892d4f1de6c5b8c Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 24 Apr 2024 12:30:58 -0400 Subject: [PATCH] ad nlohmann --- .github/workflows/cmake-multi-platform.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 8a70fbc..f361997 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -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 --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 run: > cmake -B ${{ steps.strings.outputs.build-output-dir }}