diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4a6a75..2f80a8f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ defaults: jobs: build: - name: ${{matrix.platform.name}} ${{matrix.config.name}} ${{matrix.type.name}} + name: ${{matrix.platform.name}} ${{matrix.config.name}} ${{matrix.type.name}} ImGui ${{matrix.imgui.version}} runs-on: ${{matrix.platform.os}} strategy: @@ -31,6 +31,9 @@ jobs: type: - { name: Release } - { name: Debug } + imgui: + - { version: 1.89, flags: -DIMGUI_SFML_DISABLE_OBSOLETE_FUNCTIONS=ON } + - { version: 1.91.5 } steps: - name: Get CMake and Ninja @@ -50,7 +53,7 @@ jobs: with: repository: ocornut/imgui path: imgui - ref: v1.89 + ref: v${{matrix.imgui.version}} - name: Checkout SFML uses: actions/checkout@v4 @@ -92,9 +95,9 @@ jobs: -DIMGUI_SFML_BUILD_EXAMPLES=ON \ -DIMGUI_SFML_BUILD_TESTING=ON \ -DIMGUI_SFML_ENABLE_WARNINGS=ON \ - -DIMGUI_SFML_DISABLE_OBSOLETE_FUNCTIONS=ON \ ${{matrix.platform.flags}} \ - ${{matrix.config.flags}} + ${{matrix.config.flags}} \ + ${{matrix.imgui.flags}} - name: Build ImGui-SFML run: cmake --build imgui-sfml/build --config ${{matrix.type.name}} --target install