mirror of
https://github.com/glfw/glfw.git
synced 2025-07-12 18:50:04 +00:00
The original MinGW distribution appears to no longer be maintained and should not be used. Anyone still using MinGW should consider switching to the MinGW-w64 fork or another actively maintained toolchain. MinGW-w64 supports 64-bit binaries and provides much newer compilers and Win32 headers. Fixes #2540
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
image:
|
|
- Visual Studio 2015
|
|
branches:
|
|
only:
|
|
- ci
|
|
- master
|
|
- latest
|
|
- 3.3-stable
|
|
skip_tags: true
|
|
environment:
|
|
matrix:
|
|
- GENERATOR: MinGW Makefiles
|
|
BUILD_SHARED_LIBS: ON
|
|
CFLAGS: -Werror
|
|
- GENERATOR: MinGW Makefiles
|
|
BUILD_SHARED_LIBS: OFF
|
|
CFLAGS: -Werror
|
|
- GENERATOR: Visual Studio 12 2013
|
|
BUILD_SHARED_LIBS: ON
|
|
CFLAGS: /WX
|
|
- GENERATOR: Visual Studio 12 2013
|
|
BUILD_SHARED_LIBS: OFF
|
|
CFLAGS: /WX
|
|
matrix:
|
|
fast_finish: true
|
|
for:
|
|
-
|
|
matrix:
|
|
only:
|
|
- GENERATOR: MinGW Makefiles
|
|
build_script:
|
|
- set PATH=C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;%PATH:C:\Program Files\Git\usr\bin=%
|
|
- cmake -B build -G "%GENERATOR%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS%
|
|
- cmake --build build
|
|
-
|
|
matrix:
|
|
only:
|
|
- GENERATOR: Visual Studio 12 2013
|
|
build_script:
|
|
- cmake -B build -G "%GENERATOR%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS%
|
|
- cmake --build build --target glfw
|
|
notifications:
|
|
- provider: Email
|
|
to:
|
|
- ci@glfw.org
|
|
on_build_failure: true
|
|
on_build_success: false
|