forked from jon-turney/google-breakpad-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
33 lines (33 loc) · 1.26 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
version: '{build}'
skip_tags: true
os: Unstable
environment:
CYGWIN_ROOT: C:\cygwin
CYGWIN_MIRROR: http://cygwin.mirror.constant.com
CYGWIN_PORTS_MIRROR: http://mirrors.kernel.org/sourceware/cygwinports
CYGwIN_PORTS_KEY: http://cygwinports.org/ports.gpg
CACHE: C:\cache
matrix:
- HOST: i686-w64-mingw32
- HOST: x86_64-w64-mingw32
install:
- if "%HOST%"=="i686-w64-mingw32" set PKGARCH="mingw64-i686"
- if "%HOST%"=="x86_64-w64-mingw32" set PKGARCH="mingw64-x86_64"
- if not defined PKGARCH exit 1
- if not exist %CACHE% mkdir %CACHE%
- set SETUP=setup-x86.exe
- appveyor DownloadFile http://www.dronecode.org.uk/cygwin/%SETUP% -FileName %CYGWIN_ROOT%\%SETUP%
- echo Updating Cygwin
- '%CYGWIN_ROOT%\%SETUP% -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -l "%CACHE%"'
- echo Installing build dependencies
- '%CYGWIN_ROOT%\%SETUP% -qnNdO -R "%CYGWIN_ROOT%" -s "%CYGWIN_MIRROR%" -s "%CYGWIN_PORTS_MIRROR%" -K "%CYGwIN_PORTS_KEY%" -l "%CACHE%" -P "autoconf,automake,git-svn,libtool,make,%PKGARCH%-curl,%PKGARCH%-headers,%PKGARCH%-gcc-g++,pkg-config,python"'
- echo Install done
cache:
- C:\cache
build_script:
- SET PATH=%CYGWIN_ROOT%/bin
- '%CYGWIN_ROOT%\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; sh appveyor.sh"'
test: off
artifacts:
- path: staging
deploy: off