File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -8,30 +8,32 @@ before_install:
8
8
script :
9
9
- >
10
10
docker run -v `pwd`:/cpp-hocon gcr.io/cpp-projects/cpp-ci:1 /bin/bash -c "
11
- wget https://github.com/puppetlabs/leatherman/releases/download/${LEATHERMAN_VERSION}/leatherman.tar.gz &&
12
- tar xzvf leatherman.tar.gz --strip 1 -C / &&
11
+ wget https://github.com/puppetlabs/leatherman/releases/download/${LEATHERMAN_VERSION}/leatherman${PKG_SUFFIX} .tar.gz &&
12
+ tar xzvf leatherman${PKG_SUFFIX} .tar.gz --strip 1 -C / &&
13
13
cd /cpp-hocon &&
14
14
cmake $EXTRA_VARS . &&
15
15
mkdir dest &&
16
16
make $TARGET DESTDIR=/cpp-hocon/dest VERBOSE=1 -j2 &&
17
17
{ [[ '$COVERALLS' != 'ON' ]] || coveralls --gcov-options '\-lp' -r . -b . -e src -e vendor >/dev/null || true; }
18
18
"
19
- - if [[ $DO_RELEASE = true ]]; then tar czvf cpp-hocon.tar.gz `find dest -type f -print`; fi
19
+ - if [[ $DO_RELEASE = true ]]; then tar czvf cpp-hocon${PKG_SUFFIX} .tar.gz `find dest -type f -print`; fi
20
20
21
21
env :
22
22
global :
23
- - LEATHERMAN_VERSION=1.4.0
23
+ - LEATHERMAN_VERSION=1.5.2
24
24
matrix :
25
25
- TARGET=cpplint
26
26
- TARGET=cppcheck
27
- - TARGET="all test install ARGS=-V" DO_RELEASE=true EXTRA_VARS="-DBOOST_STATIC=ON"
27
+ - TARGET="all test install ARGS=-V" DO_RELEASE=true PKG_SUFFIX="" EXTRA_VARS="-DBOOST_STATIC=ON"
28
+ - TARGET="all test install ARGS=-V" DO_RELEASE=true PKG_SUFFIX="-dynamic" EXTRA_VARS=""
28
29
- TARGET="all test install ARGS=-V" EXTRA_VARS="-DBOOST_STATIC=ON -DCMAKE_BUILD_TYPE=Debug -DCOVERALLS=ON" COVERALLS=ON
29
30
30
31
deploy :
31
32
provider : releases
32
33
api_key :
33
34
secure : CpEaVGNtPPKb55xvohWoyAQ0IBFzatEcjnFq9zT3HTWAi8Or4wH9RTBdO6HJ64NOzUiLlR7HV7CEu0FnRqHGK3r61sc3rp9aVrmw/psHHhY5AhmrmWT304K1b6bepOOR/8y2JtDlsvY0ya1H954yFMyQ8iG11hemPwzJsJbMjxYtYXXFCsAVILPUIb9xC6vcMYgyYssfUXta73KyLdbIFS25nUq/fGX3MBXzf3PHpDcnbBrMm7aMy9tSAFrl7YDCFKWbkNczlf5v6zJIXgmjuix6Clac4DabJHufe/UHrqXtORbmuvYSOpxY4uGHi7sINfj53JsTx2pM3GCITMUVafMOyEKHYiHyIODxMs8Ey3KQLgzw8MxSZ5HaeWE7UPuIDMKBo4+qeKQw9vrsZglSNbqjJet2oOVzm7TMn9wPQm71ClefxT1lxHx/V/01jhfy3jlEPjHi756cycOQposvFzBqU8u1UyoxurifUtmpDm2f45uX6/vrUhqLCcDbJzU447GWAiKrmFRyWH7K6/AS3YNIMwdHiojF+TvmXgRO+49mDMRi8nLlCJwZHePDecU09Ir6f5ym/YsUeJHhLPwwiqHuf8lZZdtSVNOo+8FHwdRZzFwxcApR782XZSIlBbGJgDHaIF6TKrOU+C7UyxhWcmyRP6Xm06OGbcl/9nJj1Yg=
34
- file : cpp-hocon.tar.gz
35
+ file_glob : true
36
+ file : cpp-hocon*.tar.gz
35
37
skip_cleanup : true
36
38
on :
37
39
repo : puppetlabs/cpp-hocon
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.2.2)
4
4
# Project Setup - modify to match project naming
5
5
## Source code for a simple command-line executable for a dynamic library will be generated from the project name.
6
6
## The command-line and library names will be based off the project name.
7
- project (cpp-hocon VERSION 0.2.0 )
7
+ project (cpp-hocon VERSION 0.2.1 )
8
8
9
9
string (MAKE_C_IDENTIFIER ${PROJECT_NAME} PROJECT_C_NAME )
10
10
string (TOUPPER ${PROJECT_C_NAME} PROJECT_NAME_UPPER )
You can’t perform that action at this time.
0 commit comments