projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
appveyor: minor refactoring, clarifications
[fio.git]
/
appveyor.yml
diff --git
a/appveyor.yml
b/appveyor.yml
index 39f50a80cf169b9fbc5da5c4e0601cdeea35becb..c6c36893931af8dd58109617e75a8003f1152b60 100644
(file)
--- a/
appveyor.yml
+++ b/
appveyor.yml
@@
-1,25
+1,28
@@
-clone_depth: 50
+clone_depth: 1 # NB: this stops FIO-VERSION-GEN making tag based versions
+
environment:
environment:
+ CYG_MIRROR: http://cygwin.mirror.constant.com
+ CYG_ROOT: C:\cygwin64
MAKEFLAGS: -j 2
matrix:
MAKEFLAGS: -j 2
matrix:
- - platform: x86_64
- BUILD_ARCH: x64
- CYG_ROOT: C:\cygwin64
+ - platform: x64
+ PACKAGE_ARCH: x86_64
CONFIGURE_OPTIONS:
- platform: x86
CONFIGURE_OPTIONS:
- platform: x86
- BUILD_ARCH: x86
- CYG_ROOT: C:\cygwin
+ PACKAGE_ARCH: i686
CONFIGURE_OPTIONS: --build-32bit-win
CONFIGURE_OPTIONS: --build-32bit-win
+install:
+ - '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --site "%CYG_MIRROR%" --packages "mingw64-%PACKAGE_ARCH%-zlib" > NULL'
+ - SET PATH=%CYG_ROOT%\bin;%PATH% # NB: Changed env variables persist to later sections
+
build_script:
build_script:
- - SET PATH=%CYG_ROOT%\bin;%PATH%
- 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe'
after_build:
- 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe'
after_build:
- - cd os\windows && dobuild.cmd %
BUILD_ARCH
%
+ - cd os\windows && dobuild.cmd %
PLATFORM
%
test_script:
test_script:
- - SET PATH=%CYG_ROOT%\bin;%PATH%
- 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test'
artifacts:
- 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test'
artifacts: