mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 22:01:02 +08:00
aab12f20bc
the change that required protobuf >= 2.5.0 has been reverted, so there's no need to build protobuf from source. use the system protobuf packages instead. also use distcheck to build and check the distribution. this will run the test suite and perform various other checks. it will also perform a VPATH build using the distribution tarball, which will catch any files present in the git repository but inadvertently not distributed in the tarball. also test the build when configured with "--enable-rpc".
13 lines
331 B
YAML
13 lines
331 B
YAML
language: cpp
|
|
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
|
|
install:
|
|
- sudo apt-get -q install protobuf-compiler libprotobuf-dev libprotoc-dev
|
|
|
|
script:
|
|
- ./autogen.sh
|
|
- ./configure && make distcheck && make clean
|
|
- ./configure --enable-rpc && make distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-rpc" && make clean
|