summaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-06-05 10:27:23 +0200
committerBart Van Assche <bart.vanassche@wdc.com>2018-06-05 10:27:23 +0200
commit0c0b66650c11891ee3733c65027639ca06ccc056 (patch)
tree8853f498adcc6a4585d096d7c17e5f28457c2247 /.appveyor.yml
parentb02e3212f23d0957f47e88b1a6cf7517dbd72e3f (diff)
downloadfio-0c0b66650c11891ee3733c65027639ca06ccc056.tar.gz
fio-0c0b66650c11891ee3733c65027639ca06ccc056.tar.bz2
Rename appveyor.yml into .appveyor.yml
Make the appveyor.yml file less visible because it is not a fio source code file. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644
index 00000000..ca8b2ab1
--- /dev/null
+++ b/.appveyor.yml
@@ -0,0 +1,30 @@
+clone_depth: 1 # NB: this stops FIO-VERSION-GEN making tag based versions
+
+environment:
+ CYG_MIRROR: http://cygwin.mirror.constant.com
+ CYG_ROOT: C:\cygwin64
+ MAKEFLAGS: -j 2
+ matrix:
+ - platform: x64
+ PACKAGE_ARCH: x86_64
+ CONFIGURE_OPTIONS:
+ - platform: x86
+ PACKAGE_ARCH: i686
+ CONFIGURE_OPTIONS: --build-32bit-win --target-win-ver=xp
+
+install:
+ - '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --site "%CYG_MIRROR%" --packages "mingw64-%PACKAGE_ARCH%-zlib" > NUL'
+ - SET PATH=%CYG_ROOT%\bin;%PATH% # NB: Changed env variables persist to later sections
+
+build_script:
+ - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --disable-native --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe'
+
+after_build:
+ - cd os\windows && dobuild.cmd %PLATFORM%
+
+test_script:
+ - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test'
+
+artifacts:
+ - path: os\windows\*.msi
+ name: msi