forked from wingtk/gvsbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
52 lines (45 loc) · 2.07 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
clone_folder: C:\gtk-build\github\gvsbuild
matrix:
fast_finish: true
environment:
global:
DOWNLOAD_DIR: _download_cache
APPVEYOR_SAVE_CACHE_ON_ERROR: true
PATH: C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Git\cmd
PYTHON: C:\Python37\python.exe
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
VS_VER: "14"
PLATFORM: "x86"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VS_VER: "15"
PLATFORM: "x86"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_VER: "16"
PLATFORM: "x64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
VS_VER: "16"
PLATFORM: "x86"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
VS_VER: "15"
PLATFORM: "x64"
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
VS_VER: "14"
PLATFORM: "x64"
build_script:
- "%PYTHON% build.py build --archives-download-dir=%DOWNLOAD_DIR% --platform=%PLATFORM% --vs-ver=%VS_VER% -k --enable-gi --python-ver 3.7 libpng"
- Rem "%PYTHON% build.py build --archives-download-dir=%DOWNLOAD_DIR% --platform=%PLATFORM% --vs-ver=%VS_VER% -k --enable-gi --py-wheel --py-egg --python-ver 3.7 --fast-build gtk enchant gtk3-full pycairo pygobject lz4"
- Rem "%PYTHON% build.py build --archives-download-dir=%DOWNLOAD_DIR% --platform=%PLATFORM% --vs-ver=%VS_VER% -k --fast-build --clean-built --py-wheel --py-egg --python-ver 3.6 pycairo pygobject"
- Rem "%PYTHON% build.py build --archives-download-dir=%DOWNLOAD_DIR% --platform=%PLATFORM% --vs-ver=%VS_VER% -k --fast-build --clean-built --py-wheel --py-egg --python-ver 3.5 pycairo pygobject"
- dir /s /b c:\gtk-build\gtk
- dir /s /b c:\gtk-build\build
- set PATH=%PATH%;C:\msys64\usr\bin
- IF "%PLATFORM%"=="x86" tar.exe -zcf gvsbuild-vs%VS_VER%-%PLATFORM%.tar.gz -C /c/gtk-build/gtk/Win32 release
- IF "%PLATFORM%"=="x64" tar.exe -zcf gvsbuild-vs%VS_VER%-%PLATFORM%.tar.gz -C /c/gtk-build/gtk/x64 release
artifacts:
- path: gvsbuild-vs%VS_VER%-%PLATFORM%.tar.gz
cache:
- '%DOWNLOAD_DIR%'
- c:\gtk-build\tools
deploy: off
test: off