2019-10-02 16:41:02 -04:00
|
|
|
image:
|
|
|
|
- Visual Studio 2015
|
|
|
|
- Visual Studio 2019
|
2016-02-17 16:03:12 -05:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- ci
|
|
|
|
- master
|
2019-05-17 10:58:50 -04:00
|
|
|
- 3.3-stable
|
2016-02-17 16:03:12 -05:00
|
|
|
skip_tags: true
|
2019-10-16 10:49:37 -04:00
|
|
|
skip_commits:
|
|
|
|
files:
|
|
|
|
- README.md
|
|
|
|
- LICENSE.md
|
|
|
|
- docs/*
|
2016-02-17 16:03:12 -05:00
|
|
|
environment:
|
|
|
|
matrix:
|
2019-10-02 16:41:02 -04: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 16:03:12 -05:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2019-10-02 16:41:02 -04: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 16:03:12 -05:00
|
|
|
notifications:
|
|
|
|
- provider: Email
|
|
|
|
to:
|
|
|
|
- ci@glfw.org
|
2017-08-28 13:01:41 -04:00
|
|
|
on_build_failure: true
|
|
|
|
on_build_success: false
|