Skip to content

Commit

Permalink
Test with 2 versions of ImGui
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Dec 7, 2024
1 parent 4f0384d commit bf46eaa
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit bf46eaa

Please sign in to comment.