mirror of
https://github.com/openharmony/third_party_glfw.git
synced 2026-07-01 08:33:44 -04:00
a7bfe219de
Signed-off-by: 李蔚 <liwei576@huawei.com>
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 12 2013
|
|
BUILD_SHARED_LIBS: ON
|
|
CFLAGS: /WX
|
|
- GENERATOR: Visual Studio 12 2013
|
|
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 -B build -G "%GENERATOR%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS%
|
|
- cmake --build build
|
|
-
|
|
matrix:
|
|
only:
|
|
- GENERATOR: Visual Studio 12 2013
|
|
build_script:
|
|
- cmake -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
|