雾聪
2023-10-12 db33d0f610f7593ad1e61f8c3cc68de4a9b68f99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Ubuntu 14.04 Trusty support, to get newer cmake and compilers.
sudo: required
dist: trusty
 
language: cpp
 
os:
  - linux
  - osx
 
compiler:
  - clang
  - gcc
 
env:
  - CONFIG=Release
  - CONFIG=Debug
 
script:
  - mkdir out && cd out && cmake -D CMAKE_BUILD_TYPE=$CONFIG -D GFLAGS_BUILD_SHARED_LIBS=ON -D GFLAGS_BUILD_STATIC_LIBS=ON -D GFLAGS_BUILD_TESTING=ON .. && cmake --build . --config $CONFIG && ctest