mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
5ecf2cbdbf
With 3.4, the tip of the 'latest' branch will be a merge commit for
3.3-stable and the main branch, and not simply a fast-foward to an
already tested commit.
This sets up a tiny additional safety net before that merge.
(cherry picked from commit 3b13228650
)
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
image:
|
|
- Visual Studio 2015
|
|
branches:
|
|
only:
|
|
- ci
|
|
- master
|
|
- latest
|
|
- 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
|
|
matrix:
|
|
fast_finish: true
|
|
for:
|
|
-
|
|
matrix:
|
|
only:
|
|
- GENERATOR: MinGW Makefiles
|
|
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
|