]> git.ozlabs.org Git - ccan/blob - appveyor.yml
io: handle errors on listening file descriptors.
[ccan] / appveyor.yml
1 # AppVeyor CI Configuration
2 #
3 # Current build status can be viewed at
4 # https://ci.appveyor.com/project/dgibson/ccan
5 #
6 # To build test a fork of this repository using AppVeyor:
7 # 1. Visit appveyor.com and create a free account.
8 # 2. On the Projects tab, select "New Project" then the project hosting site.
9 # 3. Grant OAuth permissions to your project git host.
10 # 4. Select the repository for your project fork.
11 # 5. Review build results and push updates until the desired result is reached.
12
13 version: 0.0.{build}
14
15 platform:
16 - x86
17 - amd64
18
19 build_script:
20 # Reset %PATH% to avoid msys/cygwin DLL conflicts which cause
21 # *** fatal error - cygheap base mismatch detected
22 - set PATH=C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem;C:\msys64\usr\bin
23 # Set environment variables for chosen compiler
24 - "\"C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat\" %Platform%"
25 # Ensure config.h can be generated.
26 # Note: Dash options avoid POSIX path conversion by msys
27 - "make config.h CC=cl CCAN_CFLAGS=\"-nologo -Zi -FS -W4 -wd4200 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS\" CFLAGS_FORCE_C_SOURCE=-TC OUTPUT_OPTION=-Fo:$@ DEPGEN= LD=link SHELL=bash"
28 # FIXME:  Work in progress.  Disabled due to unfixed compile errors.
29 # FIXME:  -j%NUMBER_OF_PROCESSORS% won't work without DEPGEN for config.h
30 #         It may be possible to generate .d from cl using /showIncludes
31 #         See https://stackoverflow.com/q/37685069
32 #- "make tools CC=cl CCAN_CFLAGS=\"-nologo -Zi -FS -W4 -wd4200 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS\" CFLAGS_FORCE_C_SOURCE=-TC OUTPUT_OPTION=-Fo:$@ DEPGEN= LD=link SHELL=bash"
33 #- "make -k CC=cl CCAN_CFLAGS=\"-nologo -Zi -FS -W4 -wd4200 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS\" CFLAGS_FORCE_C_SOURCE=-TC OUTPUT_OPTION=-Fo:$@ DEPGEN= LD=link SHELL=bash"
34
35 test_script:
36 # FIXME:  Work in progress.  Disabled due to unfixed compile errors.
37 #- "make -k check CC=cl CCAN_CFLAGS=\"-nologo -Zi -FS -W4 -wd4200 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS\" CFLAGS_FORCE_C_SOURCE=-TC OUTPUT_OPTION=-Fo:$@ DEPGEN= LD=link SHELL=bash"