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