Skip to content
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
808243d
Initial appveyor config
etr Jul 11, 2020
1417ae5
Fix var reference
etr Jul 11, 2020
66787fe
Fix command lines for windows
etr Jul 11, 2020
dd295f1
Fix if statement
etr Jul 11, 2020
df46bfa
Fix if statement
etr Jul 11, 2020
e11ce03
Fix if statement
etr Jul 11, 2020
528cf2c
Fix call statements
etr Jul 11, 2020
46d6ac0
Fix call statements
etr Jul 11, 2020
7a0907b
Use bash
etr Jul 11, 2020
c6022b7
Fix syntax
etr Jul 11, 2020
df8e091
Fix syntax
etr Jul 11, 2020
406e97f
Fix syntax
etr Jul 11, 2020
b64d9c8
Fix syntax
etr Jul 12, 2020
d30f058
Fix syntax
etr Jul 12, 2020
1e4d8fd
Fix syntax
etr Jul 12, 2020
3a62719
Fix syntax
etr Jul 12, 2020
5e30513
Fix syntax
etr Jul 12, 2020
6c01510
Getting MSYS to install packages
etr Jul 12, 2020
01032b2
Getting MSYS to install packages directly
etr Jul 12, 2020
d466c8c
Update msys registry first
etr Jul 12, 2020
9051f5f
Execute commands separately
etr Jul 12, 2020
ac9f4a6
Execute each pacman command separately
etr Jul 12, 2020
2496690
Simplify the appveyor file
etr Jul 12, 2020
a7b4093
Removed pre-installed packages
etr Jul 12, 2020
a17a37c
Fix paths
etr Jul 12, 2020
65eee72
Use MinGW64
etr Jul 12, 2020
a45692a
ls tools
etr Jul 12, 2020
4aea90d
change prefix
etr Jul 12, 2020
b6c0757
Use msys shell
etr Jul 12, 2020
973598c
Fix command
etr Jul 12, 2020
ba0a0f6
Print some paths
etr Jul 12, 2020
6bd83b2
print few paths
etr Jul 12, 2020
5ad630e
fix the prefix
etr Jul 12, 2020
4e27ddc
add include and lib
etr Jul 12, 2020
9397b2d
isolate libmicrohttpd
etr Jul 12, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
platform: x64

branches:
except:
- /.*travis.*/
skip_commits:
message: /travis/
files:
- .travis.yml

environment:
matrix:
- compiler: msys2
MINGW_CHOST: x86_64-w64-mingw32
MSYS2_ARCH: x86_64
init:
- 'echo Building libhttpserver %version% for Windows'
- 'echo System architecture: %PLATFORM%'
- 'echo Repo build branch is: %APPVEYOR_REPO_BRANCH%'
- 'echo Build folder is: %APPVEYOR_BUILD_FOLDER%'
- 'echo Repo build commit is: %APPVEYOR_REPO_COMMIT%'
- 'echo Cygwin root is: %CYG_ROOT%'
install:
- 'if "%compiler%"=="msys2" C:\msys64\msys2_shell.cmd -defterm -no-start -msys2 -c "pacman --noconfirm --force -S --needed mingw-w64-$MSYS2_ARCH-{libtool,make,pkg-config,libsystre,doxygen,gnutls,graphviz,curl}"'
- 'if "%compiler%"=="msys2" C:\msys64\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "cd $APPVEYOR_BUILD_FOLDER && curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.59.tar.gz -o libmicrohttpd-0.9.59.tar.gz"'
- 'if "%compiler%"=="msys2" C:\msys64\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "cd $APPVEYOR_BUILD_FOLDER && tar -xzf libmicrohttpd-0.9.59.tar.gz"'
- 'if "%compiler%"=="msys2" C:\msys64\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "cd $APPVEYOR_BUILD_FOLDER/libmicrohttpd-0.9.59 && ./configure --disable-examples --enable-poll=no --prefix /C/msys64 && make && make install"'
- 'if "%compiler%"=="msys2" C:\msys64\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "cd $APPVEYOR_BUILD_FOLDER && ./bootstrap"'
- 'if "%compiler%"=="msys2" C:\msys64\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "cd $APPVEYOR_BUILD_FOLDER && mkdir build && cd build && MANIFEST_TOOL=no; ../configure --disable-fastopen --prefix /C/msys64 CXXFLAGS=-I/C/msys64/include LDFLAGS=-L/C/msys64/lib; make"'
build_script:
- 'if "%compiler%"=="msys2" C:\msys64\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "cd $APPVEYOR_BUILD_FOLDER/build && make check"'
- 'if "%compiler%"=="msys2" C:\msys64\msys2_shell.cmd -defterm -no-start -mingw64 -full-path -here -c "cd $APPVEYOR_BUILD_FOLDER/build && cat test/test-suite.log"'