forked from kadena-io/rocksdb-haskell
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappveyor.yml
34 lines (28 loc) · 1.07 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
version: 1.0.{build}
image: Visual Studio 2015
build: off
environment:
global:
STACK_ROOT: "c:\\sr"
before_test:
# Install stack
- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-x86_64
- 7z x stack.zip stack.exe
# Install rocksdb
- git clone https://github.com/facebook/rocksdb.git --branch v4.13.5
- mkdir rocksdb\build
- cd rocksdb\build
- cmake -G "Visual Studio 14 2015 Win64" -DOPTDBG=1 -DXPRESS=1 ..
- msbuild rocksdb.sln /p:Configuration=Release /m
- cd ..\..
- xcopy rocksdb\build\Release\rocksdb.dll .
test_script:
- stack setup
# No parallelization due to https://github.com/haskell/cabal/issues/4005
- stack --no-terminal build --test --haddock --no-haddock-deps --bench --extra-include-dirs="C:\OpenSSL-Win64\include" --extra-lib-dirs="C:\OpenSSL-Win64" --extra-lib-dirs="C:\projects\rocksdb-haskell\rocksdb\build\Release" --extra-include-dirs="C:\projects\rocksdb-haskell\rocksdb\include"
artifacts:
- path: rocksdb\build\Release
name: Rocksdb
type: zip
- path: rocksdb\build\Release\rocksdb.dll
name: rocksdb.dll