This commit is contained in:
andri lim 2020-03-28 11:51:04 +07:00 committed by zah
parent 4dc604a5ca
commit 791df10be7
2 changed files with 5 additions and 5 deletions

View File

@ -28,10 +28,10 @@ install:
- env MAKE="mingw32-make -j2" ARCH_OVERRIDE=%PLATFORM% bash build_nim.sh Nim csources dist/nimble NimBinaries
- SET PATH=%CD%\Nim\bin;%PATH%
- git clone --depth 1 https://github.com/google/snappy
- git clone --depth 1 https://github.com/google/snappy snappycpp
build_script:
- cd snappy
- cd snappycpp
- mkdir build
- cd build
- cmake .. -G "MinGW Makefiles" -DCMAKE_IGNORE_PATH="C:/Program Files/Git/usr/bin"

View File

@ -20,14 +20,14 @@ install:
- env MAKE="make -j2" bash build_nim.sh Nim csources dist/nimble NimBinaries
- export PATH=$PWD/Nim/bin:$PATH
- git clone --depth 1 https://github.com/google/snappy
- git clone --depth 1 https://github.com/google/snappy snappycpp
script:
- cd snappy
- cd snappycpp
- mkdir build
- cd build && cmake ../ && make
- cd ../..
- cp snappy/build/libsnappy.a ./tests/
- cp snappycpp/build/libsnappy.a ./tests/
- nimble install -y
- nimble test