From 349cdc89ffebb8f3a9cf3ff5be6a9934b94f1b05 Mon Sep 17 00:00:00 2001 From: Sitsofe Wheeler Date: Sun, 19 Feb 2017 08:52:28 +0000 Subject: [PATCH] appveyor: add CI building of the Windows version of fio Add AppVeyor continuous integration build of the Windows port. This also builds the Windows installer and the resulting MSI can be downloaded. Note that AppVeyor limits you to one build at a time. --- appveyor.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..75433935 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,27 @@ +clone_depth: 50 +environment: + MAKEFLAGS: -j 2 + matrix: + - platform: x86_64 + BUILD_ARCH: x64 + CYG_ROOT: C:\cygwin64 + CONFIGURE_OPTIONS: + - platform: x86 + BUILD_ARCH: x86 + CYG_ROOT: C:\cygwin + CONFIGURE_OPTIONS: --build-32bit-win + +build_script: + - SET PATH=%CYG_ROOT%\bin;%PATH% + - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure ${CONFIGURE_OPTIONS} && make.exe' + +after_build: + - cd os\windows && dobuild.cmd %BUILD_ARCH% + +test_script: + - SET PATH=%CYG_ROOT%\bin;%PATH% + - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test' + +artifacts: + - path: os\windows\*.msi + name: msi -- 2.25.1