mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-11-17 01:16:02 +01:00
30 lines
892 B
YAML
30 lines
892 B
YAML
language: cpp
|
|
cache:
|
|
- apt
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
before_install:
|
|
# We need this line to have g++4.8 available in apt
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get update
|
|
- sudo apt-get install valgrind
|
|
- sudo apt-get install libgtest-dev
|
|
- "cd /usr/src/gtest && sudo cmake . && sudo cmake --build . && sudo mv libg* /usr/local/lib/ ; cd -"
|
|
install:
|
|
- sudo apt-get install -qq gcc-4.8 g++-4.8
|
|
# We want to compile with g++ 4.8 when rather than the default g++
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
|
|
branches:
|
|
only:
|
|
- poc/0.6
|
|
env:
|
|
- ACTION="ci/build_autotools.sh" PARAM="cpp11"
|
|
- ACTION="ci/build_autotools.sh" PARAM="cpp03"
|
|
- ACTION="ci/build_cmake.sh" PARAM="cpp11"
|
|
- ACTION="ci/build_cmake.sh" PARAM="cpp03"
|
|
|
|
script:
|
|
- git clean -xdf && ${ACTION} ${PARAM}
|