Skip to content

Commit bf46eaa

Browse files
committed
Test with 2 versions of ImGui
1 parent 4f0384d commit bf46eaa

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Diff for: .github/workflows/ci.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defaults:
1212

1313
jobs:
1414
build:
15-
name: ${{matrix.platform.name}} ${{matrix.config.name}} ${{matrix.type.name}}
15+
name: ${{matrix.platform.name}} ${{matrix.config.name}} ${{matrix.type.name}} ImGui ${{matrix.imgui.version}}
1616
runs-on: ${{matrix.platform.os}}
1717

1818
strategy:
@@ -31,6 +31,9 @@ jobs:
3131
type:
3232
- { name: Release }
3333
- { name: Debug }
34+
imgui:
35+
- { version: 1.89, flags: -DIMGUI_SFML_DISABLE_OBSOLETE_FUNCTIONS=ON }
36+
- { version: 1.91.5 }
3437

3538
steps:
3639
- name: Get CMake and Ninja
@@ -50,7 +53,7 @@ jobs:
5053
with:
5154
repository: ocornut/imgui
5255
path: imgui
53-
ref: v1.89
56+
ref: v${{matrix.imgui.version}}
5457

5558
- name: Checkout SFML
5659
uses: actions/checkout@v4
@@ -92,9 +95,9 @@ jobs:
9295
-DIMGUI_SFML_BUILD_EXAMPLES=ON \
9396
-DIMGUI_SFML_BUILD_TESTING=ON \
9497
-DIMGUI_SFML_ENABLE_WARNINGS=ON \
95-
-DIMGUI_SFML_DISABLE_OBSOLETE_FUNCTIONS=ON \
9698
${{matrix.platform.flags}} \
97-
${{matrix.config.flags}}
99+
${{matrix.config.flags}} \
100+
${{matrix.imgui.flags}}
98101
99102
- name: Build ImGui-SFML
100103
run: cmake --build imgui-sfml/build --config ${{matrix.type.name}} --target install

0 commit comments

Comments
 (0)