File tree 2 files changed +21
-2
lines changed
2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ jobs:
193
193
matrix :
194
194
# Build each combination of OS and release/debug variants
195
195
os : [ windows-2019 ]
196
- msystem : [ ucrt64, mingw64 ]
196
+ msystem : [ ucrt64, mingw64, clang64 ]
197
197
build-type : [ Release, Debug ]
198
198
include :
199
199
- msystem : ucrt64
@@ -202,6 +202,8 @@ jobs:
202
202
- msystem : mingw64
203
203
package-prefix : x86_64
204
204
cmake-flags : LDFLAGS="-fuse-ld=lld -lstdc++ -lgcc_s"
205
+ - msystem : clang64
206
+ package-prefix : clang-x86_64
205
207
# Don't abort runners if a single one fails
206
208
fail-fast : false
207
209
runs-on : ${{ matrix.os }}
@@ -229,7 +231,14 @@ jobs:
229
231
working-directory : build
230
232
run : |
231
233
ctest -j 4 --output-on-failure -T test
232
-
234
+ - name : Install
235
+ working-directory : build
236
+ run : |
237
+ cmake --install . --prefix=../dist
238
+ - uses : actions/upload-artifact@v4
239
+ with :
240
+ name : ${{ matrix.msystem }}-${{ matrix.build-type }}
241
+ path : dist/
233
242
234
243
# Fake check that can be used as a branch-protection rule.
235
244
all-checks :
Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ endif()
20
20
21
21
enable_language (OBJC OBJCXX)
22
22
23
+ if (MINGW)
24
+ set (CMAKE_IMPORT_LIBRARY_SUFFIX ".dll.a" )
25
+ set (CMAKE_LINK_LIBRARY_SUFFIX "" )
26
+ set (CMAKE_SHARED_LIBRARY_PREFIX "lib" )
27
+ set (CMAKE_OBJCXX_IMPLICIT_INCLUDE_DIRECTORIES ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES} )
28
+ endif ()
29
+
23
30
INCLUDE (CheckCXXSourceCompiles)
24
31
INCLUDE (FetchContent)
25
32
@@ -301,6 +308,9 @@ if (NOT CMAKE_INSTALL_LIBDIR)
301
308
set (CMAKE_INSTALL_LIBDIR lib)
302
309
endif ()
303
310
311
+ if (NOT CMAKE_INSTALL_BINDIR)
312
+ set (CMAKE_INSTALL_BINDIR bin)
313
+ endif ()
304
314
305
315
set (GNUSTEP_INSTALL_TYPE ${DEFAULT_INSTALL_TYPE} CACHE STRING
306
316
"GNUstep installation type. Options are NONE, SYSTEM, NETWORK or LOCAL." )
You can’t perform that action at this time.
0 commit comments