Skip to content

Commit

Permalink
Let CI test generated TGUIConfig.cmake file with more configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
texus committed Jul 23, 2024
1 parent 58d6a29 commit 3587e66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,6 @@ jobs:
-DSFML_DIR="${env:GITHUB_WORKSPACE}/SFML-${env:SFML_VERSION}/lib/cmake/SFML/"
-DSDL2_PATH="${env:GITHUB_WORKSPACE}/SDL2-${env:SDL_VERSION}"
-DSDL2_TTF_PATH="${env:GITHUB_WORKSPACE}/SDL2_ttf-${env:SDL_TTF_VERSION}"
-DFREETYPE_WINDOWS_BINARIES_PATH="${env:GITHUB_WORKSPACE}/freetype-windows-binaries-${env:FREETYPE_VERSION}"
& "cmake-${env:CMAKE_VERSION}.${env:CMAKE_VERSION_PATCH}-win32-x86/bin/cmake.exe" --build tests/cmake/build --config Release
Expand Down Expand Up @@ -730,7 +729,7 @@ jobs:
cmake --build TGUI-build-dylibs --config Debug --target install
cmake -GNinja -DTGUI_DIR="$GITHUB_WORKSPACE/TGUI-build-dylibs/install/lib/cmake/TGUI/" -S tests/cmake -B tests/cmake/build
cmake -GNinja -DTGUI_ROOT="$GITHUB_WORKSPACE/TGUI-build-dylibs/install/" -S tests/cmake -B tests/cmake/build
cmake --build tests/cmake/build --config Debug
Expand All @@ -757,7 +756,7 @@ jobs:
cmake --build TGUI-build-framework --config Release --target install
cmake -GNinja -DTGUI_DIR="$GITHUB_WORKSPACE/TGUI-build-frameworks/install/lib/cmake/TGUI/" -S tests/cmake -B tests/cmake/build
cmake -GNinja -DTGUI_ROOT="$GITHUB_WORKSPACE/TGUI-build-frameworks/install/" -S tests/cmake -B tests/cmake/build
cmake --build tests/cmake/build --config Debug
Expand Down
2 changes: 1 addition & 1 deletion tests/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.16)
project(TGUI-CMake-test)

add_executable(TguiTest main.cpp)
Expand Down

0 comments on commit 3587e66

Please sign in to comment.