diff --git a/.ci/install-dyncall.bat b/.ci/install-dyncall.bat new file mode 100755 index 0000000..c983288 --- /dev/null +++ b/.ci/install-dyncall.bat @@ -0,0 +1,9 @@ +set repo="https://github.com/Snaipe/dyncall.git" +set tag="master" + +mkdir dependencies +git clone --branch %tag% --depth 1 %repo% dependencies/dyncall +cd dependencies/dyncall +mkdir build && cd build +cmake -DCMAKE_INSTALL_PREFIX=%LOCAL_INSTALL% -G "NMake Makefiles" .. +nmake diff --git a/.ci/install-dyncall.sh b/.ci/install-dyncall.sh index 142da7d..b880cbd 100755 --- a/.ci/install-dyncall.sh +++ b/.ci/install-dyncall.sh @@ -6,7 +6,9 @@ mkdir -p dependencies git clone --branch ${tag} --depth 1 ${repo} dependencies/dyncall && ( cd dependencies/dyncall && - ./configure --prefix=$LOCAL_INSTALL + mkdir build && + cd $_ && + cmake -DCMAKE_INSTALL_PREFIX=$LOCAL_INSTALL "$@" .. && make && make install ) diff --git a/appveyor.yml b/appveyor.yml index ca54394..6e43b3e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,11 +28,11 @@ install: # Hack to make git think it is on the tip of the repo branch - 'git checkout -B %APPVEYOR_REPO_BRANCH%' # Install dependencies - - 'bash -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0