2019-10-02 16:41:02 -04:00
|
|
|
image:
|
|
|
|
- Visual Studio 2015
|
2016-02-17 16:03:12 -05:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- ci
|
|
|
|
- master
|
2021-06-09 10:48:34 -04:00
|
|
|
- latest
|
2019-05-17 10:58:50 -04:00
|
|
|
- 3.3-stable
|
2016-02-17 16:03:12 -05:00
|
|
|
skip_tags: true
|
|
|
|
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
|
2016-02-17 16:03:12 -05:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2019-10-02 16:41:02 -04:00
|
|
|
for:
|
|
|
|
-
|
|
|
|
matrix:
|
2021-06-09 10:44:45 -04:00
|
|
|
only:
|
|
|
|
- GENERATOR: MinGW Makefiles
|
2019-10-02 16:41:02 -04:00
|
|
|
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
|