Travis: use distro's librocksdb-dev on AMD64 and ARM64
This commit is contained in:
parent
66020ea752
commit
95e01ecc83
10
.travis.yml
10
.travis.yml
|
@ -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,16 +34,14 @@ 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
|
||||||
|
# build our own rocksdb to test with a fixed version that we think works
|
||||||
install:
|
- vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
|
||||||
# build our own rocksdb to test with a fixed version that we think works
|
|
||||||
- vendor/nimbus-build-system/scripts/build_rocksdb.sh rocksdbCache
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- set -e # fail fast
|
- set -e # fail fast
|
||||||
|
|
Loading…
Reference in New Issue