mirror of
https://github.com/glfw/glfw.git
synced 2024-11-23 18:45:10 +00:00
b1d4b6a595
(cherry picked from commit 46c7c1cdff
)
61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
image:
|
|
- Visual Studio 2015
|
|
- Visual Studio 2019
|
|
branches:
|
|
only:
|
|
- ci
|
|
- master
|
|
- 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 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
|
|
matrix:
|
|
fast_finish: true
|
|
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
|
|
notifications:
|
|
- provider: Email
|
|
to:
|
|
- ci@glfw.org
|
|
on_build_failure: true
|
|
on_build_success: false
|