2019-10-02 22:41:02 +02:00
|
|
|
image:
|
|
|
|
- Visual Studio 2015
|
|
|
|
- Visual Studio 2019
|
2016-02-17 22:03:12 +01:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- ci
|
|
|
|
- master
|
2019-05-17 16:58:50 +02:00
|
|
|
- 3.3-stable
|
2016-02-17 22:03:12 +01:00
|
|
|
skip_tags: true
|
|
|
|
environment:
|
|
|
|
matrix:
|
2019-10-02 22:41:02 +02:00
|
|
|
- GENERATOR: MinGW Makefiles
|
|
|
|
BUILD_SHARED_LIBS: ON
|
|
|
|
CFLAGS: -Werror
|
|
|
|
- GENERATOR: MinGW Makefiles
|
|
|
|
BUILD_SHARED_LIBS: OFF
|
|
|
|
CFLAGS: -Werror
|
|
|
|
- GENERATOR: Visual Studio 10 2010
|
|
|
|
BUILD_SHARED_LIBS: ON
|
|
|
|
CFLAGS: /WX
|
|
|
|
- GENERATOR: Visual Studio 10 2010
|
|
|
|
BUILD_SHARED_LIBS: OFF
|
|
|
|
CFLAGS: /WX
|
|
|
|
- GENERATOR: Visual Studio 16 2019
|
|
|
|
BUILD_SHARED_LIBS: ON
|
|
|
|
CFLAGS: /WX
|
|
|
|
- GENERATOR: Visual Studio 16 2019
|
|
|
|
BUILD_SHARED_LIBS: OFF
|
|
|
|
CFLAGS: /WX
|
2016-02-17 22:03:12 +01:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2019-10-02 22:41:02 +02:00
|
|
|
exclude:
|
|
|
|
- image: Visual Studio 2015
|
|
|
|
GENERATOR: Visual Studio 16 2019
|
|
|
|
- image: Visual Studio 2019
|
|
|
|
GENERATOR: Visual Studio 10 2010
|
|
|
|
- image: Visual Studio 2019
|
|
|
|
GENERATOR: MinGW Makefiles
|
|
|
|
for:
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
except:
|
|
|
|
- GENERATOR: Visual Studio 10 2010
|
|
|
|
build_script:
|
|
|
|
- set PATH=%PATH:C:\Program Files\Git\usr\bin=C:\MinGW\bin%
|
|
|
|
- cmake -S . -B build -G "%GENERATOR%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS%
|
|
|
|
- cmake --build build
|
|
|
|
-
|
|
|
|
matrix:
|
|
|
|
only:
|
|
|
|
- GENERATOR: Visual Studio 10 2010
|
|
|
|
build_script:
|
|
|
|
- cmake -S . -B build -G "%GENERATOR%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS%
|
|
|
|
- cmake --build build --target glfw
|
2016-02-17 22:03:12 +01:00
|
|
|
notifications:
|
|
|
|
- provider: Email
|
|
|
|
to:
|
|
|
|
- ci@glfw.org
|
2017-08-28 19:01:41 +02:00
|
|
|
on_build_failure: true
|
|
|
|
on_build_success: false
|