File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7878 # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
7979 # run: ctest --build-config ${{ matrix.build_type }}
8080 run : echo "Tests are skipped"
81+
82+ build-windows2025-vs2026 :
83+ runs-on : windows-2025-vs2026
84+
85+ steps :
86+ - uses : actions/checkout@v6
87+
88+ - name : Setup MSVC environment
89+ uses : ilammy/msvc-dev-cmd@v1
90+ with :
91+ arch : x64
92+
93+ - name : Set reusable strings
94+ id : strings
95+ shell : bash
96+ run : |
97+ echo "build-output-dir=${{ github.workspace }}/build-windows2025-vs2026" >> "$GITHUB_OUTPUT"
98+
99+ - name : Setup CMake
100+ uses : lukka/get-cmake@latest
101+ with :
102+ cmakeVersion : " ~4.2.0" # use most recent 4.2.x version
103+
104+ - name : Configure CMake
105+ run : >
106+ cmake -B ${{ steps.strings.outputs.build-output-dir }}
107+ -G Ninja
108+ -S ${{ github.workspace }}
109+ -DCMAKE_C_COMPILER=clang-cl
110+ -DCMAKE_CXX_COMPILER=clang-cl
111+ -DCMAKE_BUILD_TYPE=Release
112+ -DFREEIMAGE_WITH_LIBHEIF:BOOL=OFF
113+ -DFREEIMAGE_BUILD_TESTS:BOOL=ON
114+
115+ - name : Build
116+ run : cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release
117+
118+ - name : Test
119+ working-directory : ${{ steps.strings.outputs.build-output-dir }}
120+ run : echo "Tests are skipped"
You can’t perform that action at this time.
0 commit comments