Added dyncall dependency installation

This commit is contained in:
Snaipe 2015-09-03 18:00:37 +02:00
parent 1757752dd1
commit 06e87bf592
5 changed files with 20 additions and 2 deletions

4
.ci/install-dependencies.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
./.ci/install-dyncall.sh
./.ci/install-libcsptr.sh

12
.ci/install-dyncall.sh Executable file
View file

@ -0,0 +1,12 @@
#!/bin/bash
repo="https://github.com/Snaipe/dyncall.git"
tag="master"
mkdir -p dependencies
git clone --branch ${tag} --depth 1 ${repo} dependencies/dyncall &&
(
cd dependencies/dyncall &&
./configure --prefix=$LOCAL_INSTALL
make &&
make install
)

1
.gitignore vendored
View file

@ -3,6 +3,7 @@
!.gitignore
!.bumpversion.cfg
!.ci/*
!*.c
!*.h

View file

@ -7,7 +7,7 @@ compiler:
sudo: false
before_install:
- export LOCAL_INSTALL="$HOME"
- ".ci/install-libcsptr.sh"
- ".ci/install-dependencies.sh"
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/lib
- export CFLAGS="-g -O0"
script:

View file

@ -27,7 +27,8 @@ configuration: Release
install:
# Hack to make git think it is on the tip of the repo branch
- 'git checkout -B %APPVEYOR_REPO_BRANCH%'
# Install libcsptr
# Install dependencies
- 'bash -lc "cd $APPVEYOR_BUILD_FOLDER; .ci/install-dyncall.sh; true"'
- 'bash -lc "cd $APPVEYOR_BUILD_FOLDER; .ci/install-libcsptr.sh -G \"MSYS Makefiles\"; true"'
# We need to manually make since the above command somehow crashes
- 'cd dependencies/libcsptr/build && make && make install && cd ../../../'