Commit | Line | Data |
---|---|---|
5580d200 | 1 | clone_depth: 1 |
349cdc89 | 2 | environment: |
5580d200 SW |
3 | CYG_MIRROR: http://cygwin.mirror.constant.com |
4 | CYG_ROOT: C:\cygwin64 | |
349cdc89 SW |
5 | MAKEFLAGS: -j 2 |
6 | matrix: | |
7 | - platform: x86_64 | |
8 | BUILD_ARCH: x64 | |
5580d200 | 9 | PACKAGE_ARCH: x86_64 |
349cdc89 SW |
10 | CONFIGURE_OPTIONS: |
11 | - platform: x86 | |
12 | BUILD_ARCH: x86 | |
5580d200 | 13 | PACKAGE_ARCH: i686 |
349cdc89 SW |
14 | CONFIGURE_OPTIONS: --build-32bit-win |
15 | ||
5580d200 SW |
16 | install: |
17 | - '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --only-site --site "%CYG_MIRROR%" --packages "mingw64-%PACKAGE_ARCH%-zlib" > NULL' | |
18 | ||
349cdc89 SW |
19 | build_script: |
20 | - SET PATH=%CYG_ROOT%\bin;%PATH% | |
a397a400 | 21 | - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && ./configure --extra-cflags=\"-Werror\" ${CONFIGURE_OPTIONS} && make.exe' |
349cdc89 SW |
22 | |
23 | after_build: | |
24 | - cd os\windows && dobuild.cmd %BUILD_ARCH% | |
25 | ||
26 | test_script: | |
27 | - SET PATH=%CYG_ROOT%\bin;%PATH% | |
28 | - 'bash.exe -lc "cd \"${APPVEYOR_BUILD_FOLDER}\" && file.exe fio.exe && make.exe test' | |
29 | ||
30 | artifacts: | |
31 | - path: os\windows\*.msi | |
32 | name: msi |