fixes ci
This commit is contained in:
parent
4dc604a5ca
commit
791df10be7
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue