Skip to content

Commit

Permalink
Enable MesaLink build in travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiming Jing committed Aug 5, 2019
1 parent 907ac3d commit cec08d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ env:
- PURPOSE=unittest
- PURPOSE=compile-with-cmake
- PURPOSE=compile-with-bazel
#- PURPOSE=compile USE_MESALINK=yes
#- PURPOSE=unittest USE_MESALINK=yes
- PURPOSE=compile USE_MESALINK=yes
- PURPOSE=unittest USE_MESALINK=yes
- PURPOSE=compile-with-cmake USE_MESALINK=yes
- PURPOSE=compile-with-bazel USE_MESALINK=yes

before_script:
- ulimit -c unlimited -S # enable core dumps
Expand All @@ -27,7 +29,7 @@ install:
- sudo apt-get install -qq realpath libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev libgoogle-perftools-dev libboost-dev libssl-dev libevent-dev libboost-test-dev
- sudo apt-get install libgtest-dev && cd /usr/src/gtest && sudo env "PATH=$PATH" cmake . && sudo make && sudo mv libgtest* /usr/lib/ && cd -
- sudo apt-get install -y gdb # install gdb
- if [[ "$USE_MESALINK" == "yes" ]]; then curl https://sh.rustup.rs -sSf | sh -s -- -y && source $HOME/.cargo/env && wget https://github.com/mesalock-linux/mesalink/archive/v0.8.0.tar.gz && tar -xf v0.8.0.tar.gz && cd mesalink-0.8.0 && ./autogen.sh --prefix=/usr/ && make && sudo make install && cd - ; fi
- if [[ "$USE_MESALINK" == "yes" ]]; then wget https://mesalink.s3-us-west-1.amazonaws.com/MesaLink-1.0.0-x86_64_trusty.deb && sudo dpkg -i MesaLink-1.0.0-x86_64_trusty.deb ; fi # install MesaLink for trusty

script:
- sh build_in_travis_ci.sh

0 comments on commit cec08d4

Please sign in to comment.