Commit cec08d43 authored by Yiming Jing's avatar Yiming Jing

Enable MesaLink build in travis CI

parent 907ac3d8
......@@ -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
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment