1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-19 06:47:44 +00:00

Install stb

This commit is contained in:
Joshua Goins 2024-04-24 13:43:15 -04:00
parent 7f64798e55
commit 9c908e38af

View file

@ -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 -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 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 - name: Configure
run: > run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }} cmake -B ${{ steps.strings.outputs.build-output-dir }}