From 9c908e38afd4276fadc7f1f9e8390ba4472c3600 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 24 Apr 2024 13:43:15 -0400 Subject: [PATCH] Install stb --- .github/workflows/cmake-multi-platform.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index eeba098..68826c0 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -249,6 +249,12 @@ jobs: 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 -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.prefix-dir }} -DJSON_BuildTests=OFF cmake --build ${{ steps.strings.outputs.build-output-dir }}-nlohmann --target install + - name: Build stb + if: steps.cache-prefix.outputs.cache-hit != 'true' + run: | + git clone https://github.com/nothings/stb.git + mv stb/* ${{ steps.strings.outputs.prefix-dir }}/include + - name: Configure run: > cmake -B ${{ steps.strings.outputs.build-output-dir }}