- ./clang-build
tags:
- shared
+
+build_mingw32:
+ stage: build
+ script:
+ - dnf --quiet --assumeyes install mingw32-gcc mingw32-gcc-c++ mingw32-binutils
+ - export PATH=/usr/i686-w64-mingw32/bin:$PATH; mkdir -p i686-w64-mingw32 mingw32-build; cd i686-w64-mingw32; cmake .. -DCMAKE_TOOLCHAIN_FILE=/usr/share/mingw/toolchain-mingw32.cmake -DLUGARU_INSTALL_PREFIX=/builds/osslugaru/lugaru/mingw32-build; make -j4; make install
+ artifacts:
+ expire_in: 7d
+ paths:
+ - ./mingw32-build
+ tags:
+ - shared
if(WIN32)
if(CMAKE_CROSSCOMPILING)
ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj
- COMMAND i686-pc-mingw32-windres
+ COMMAND i686-w64-mingw32-windres
-I${SRCDIR}/win-res
-o ${CMAKE_CURRENT_BINARY_DIR}/lugaru_resource.obj
-i${SRCDIR}/win-res/Lugaru.rc