Travis: use distro's librocksdb-dev on AMD64 and ARM64
This commit is contained in:
parent
66020ea752
commit
95e01ecc83
|
@ -23,6 +23,8 @@ matrix:
|
||||||
- NPROC=2
|
- NPROC=2
|
||||||
before_install:
|
before_install:
|
||||||
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
|
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
|
||||||
|
- sudo apt-get -q update
|
||||||
|
- sudo apt-get install -y librocksdb-dev
|
||||||
- os: linux
|
- os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
sudo: required
|
sudo: required
|
||||||
|
@ -32,14 +34,12 @@ matrix:
|
||||||
before_install:
|
before_install:
|
||||||
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
|
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib"
|
||||||
- sudo apt-get -q update
|
- sudo apt-get -q update
|
||||||
- sudo apt-get install -y libpcre3-dev
|
- sudo apt-get install -y libpcre3-dev librocksdb-dev
|
||||||
- os: osx
|
- os: osx
|
||||||
env:
|
env:
|
||||||
- NPROC=2
|
- NPROC=2
|
||||||
before_install:
|
before_install:
|
||||||
- launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB
|
- launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB
|
||||||
|
|
||||||
install:
|
|
||||||
# build our own rocksdb to test with a fixed version that we think works
|
# build our own rocksdb to test with a fixed version that we think works
|
||||||
- vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
|
- vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue