mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-18 08:49:57 -04:00
Use autotools for appveyor until cmake is fixed.
This commit is contained in:
parent
e84e269b47
commit
1cc2e2953e
44
appveyor.yml
44
appveyor.yml
@ -1,11 +1,45 @@
|
|||||||
|
version: 2.1.5.{build}
|
||||||
|
shallow_clone: true
|
||||||
|
|
||||||
|
os: Visual Studio 2015 RC
|
||||||
|
|
||||||
|
build:
|
||||||
|
verbosity: detailed
|
||||||
|
|
||||||
|
environment:
|
||||||
|
global:
|
||||||
|
CYG_ROOT: C:/MinGW/msys/1.0
|
||||||
|
|
||||||
|
init:
|
||||||
|
- 'echo Building libevent %version% for Windows'
|
||||||
|
- 'echo System architecture: %PLATFORM%'
|
||||||
|
- 'echo Repo build branch is: %APPVEYOR_REPO_BRANCH%'
|
||||||
|
- 'echo Build folder is: %APPVEYOR_BUILD_FOLDER%'
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- set PATH=%PATH%;C:\MinGW\msys\1.0\bin;C:\MinGW\bin
|
||||||
- appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe
|
- appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe
|
||||||
- Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes
|
- Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
- md build
|
- cmd: 'echo Cygwin root is: %CYG_ROOT%'
|
||||||
- cd build
|
- cmd: 'echo Build folder is: %APPVEYOR_BUILD_FOLDER%'
|
||||||
- cmake ..
|
- cmd: 'echo Repo build branch is: %APPVEYOR_REPO_BRANCH%'
|
||||||
- cmake --build .
|
- cmd: 'echo Repo build commit is: %APPVEYOR_REPO_COMMIT%'
|
||||||
- ctest --output-on-failure
|
- cmd: "echo installing stuff"
|
||||||
|
- cmd: 'echo "C:\MinGW /mingw" >%CYG_ROOT%/etc/fstab'
|
||||||
|
- cmd: 'C:\MinGW\bin\mingw-get install autotools autoconf automake python'
|
||||||
|
- cmd: 'echo Autogen running...'
|
||||||
|
- cmd: '%CYG_ROOT%/bin/bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null;mount C:/MinGW /mingw; bash -x ./autogen.sh; ./configure; make; make verify"'
|
||||||
|
|
||||||
|
#install:
|
||||||
|
# - appveyor DownloadFile https://strcpy.net/packages/Win32OpenSSL-1_0_2a.exe
|
||||||
|
# - Win32OpenSSL-1_0_2a.exe /silent /verysilent /sp- /suppressmsgboxes
|
||||||
|
#build_script:
|
||||||
|
# - md build
|
||||||
|
# - cd build
|
||||||
|
# - cmake ..
|
||||||
|
# - cmake --build .
|
||||||
|
# - ctest --output-on-failure
|
||||||
cache:
|
cache:
|
||||||
- C:\OpenSSL-Win32
|
- C:\OpenSSL-Win32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user