Skip to content

Commit 8969b98

Browse files
authored
Merge pull request #1254 from pmienk/version3
Regenerate artifacts.
2 parents 7a20ad2 + a92527e commit 8969b98

52 files changed

Lines changed: 499 additions & 332 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.appveyor.yml

Lines changed: 0 additions & 88 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 191 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,191 @@
1+
###############################################################################
2+
# Copyright (c) 2014-2020 libbitcoin-system developers (see COPYING).
3+
#
4+
# GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
5+
#
6+
###############################################################################
7+
8+
name: Continuous Integration Build
9+
10+
on: [ pull_request, push, workflow_dispatch ]
11+
12+
jobs:
13+
verify-installsh:
14+
15+
strategy:
16+
fail-fast: false
17+
18+
matrix:
19+
include:
20+
- os: ubuntu-latest
21+
cxx: "clang++"
22+
link: "dynamic"
23+
assert: "debug"
24+
coverage: "nocov"
25+
boost: "--build-boost"
26+
icu: ""
27+
cc: "clang"
28+
flags: "-Os -fPIE"
29+
packager: "apt"
30+
packages: "clang"
31+
32+
- os: ubuntu-latest
33+
cxx: "clang++"
34+
link: "static"
35+
assert: "ndebug"
36+
coverage: "nocov"
37+
boost: "--build-boost"
38+
icu: "--build-icu --with-icu"
39+
cc: "clang"
40+
flags: "-Os -fPIE"
41+
packager: "apt"
42+
packages: "clang"
43+
44+
- os: ubuntu-latest
45+
cxx: "g++"
46+
link: "dynamic"
47+
assert: "ndebug"
48+
coverage: "nocov"
49+
boost: "--build-boost"
50+
icu: ""
51+
cc: "gcc"
52+
flags: "-Os -fPIE"
53+
packager: "apt"
54+
packages: "gcc"
55+
56+
- os: ubuntu-latest
57+
cxx: "g++"
58+
link: "static"
59+
assert: "ndebug"
60+
coverage: "cov"
61+
boost: "--build-boost"
62+
icu: "--build-icu --with-icu"
63+
cc: "gcc"
64+
flags: "-Og -g --coverage -fPIE"
65+
packager: "apt"
66+
packages: "gcc lcov"
67+
68+
- os: macos-latest
69+
cxx: "clang++"
70+
link: "dynamic"
71+
assert: "ndebug"
72+
coverage: "nocov"
73+
boost: "--build-boost"
74+
icu: "--build-icu --with-icu"
75+
cc: "clang"
76+
flags: "-Os -fPIE"
77+
packager: "brew"
78+
packages: ""
79+
80+
- os: macos-latest
81+
cxx: "clang++"
82+
link: "static"
83+
assert: "ndebug"
84+
coverage: "nocov"
85+
boost: "--build-boost"
86+
icu: "--build-icu --with-icu"
87+
cc: "clang"
88+
flags: "-Os -fPIE"
89+
packager: "brew"
90+
packages: ""
91+
92+
runs-on: ${{ matrix.os }}
93+
94+
env:
95+
CC: '${{ matrix.cc }}'
96+
CXX: '${{ matrix.cxx }}'
97+
CFLAGS: '${{ matrix.flags }}'
98+
CXXFLAGS: '${{ matrix.flags }}'
99+
CI_REPOSITORY: '${{ github.repository }}'
100+
101+
steps:
102+
- name: Checkout repository
103+
uses: actions/checkout@v2
104+
105+
- name: Prepare toolchain [apt]
106+
if: ${{ matrix.packager == 'apt' }}
107+
run: |
108+
sudo apt-get update
109+
sudo apt-get install git build-essential autoconf automake libtool pkg-config ${{ matrix.packages }}
110+
111+
- name: Prepare toolchain [brew]
112+
if: ${{ matrix.packager == 'brew' }}
113+
run: |
114+
brew install autoconf automake libtool pkg-config ${{ matrix.packages }}
115+
116+
- name: Denormalize parameterization
117+
run: |
118+
if [[ ${{ matrix.assert }} == 'ndebug' ]]; then
119+
echo "ASSERT_NDEBUG=--enable-ndebug" >> $GITHUB_ENV
120+
else
121+
echo "ASSERT_NDEBUG=--disable-ndebug" >> $GITHUB_ENV
122+
fi
123+
if [[ ${{ matrix.link }} == 'dynamic' ]]; then
124+
echo "LINKAGE=--disable-static" >> $GITHUB_ENV
125+
else
126+
echo "LINKAGE=--disable-shared" >> $GITHUB_ENV
127+
fi
128+
if [[ ${{ matrix.link }} == 'dynamic' ]]; then
129+
echo "LDFLAGS=-Wl,-rpath,${{ github.workspace }}/prefixenv/lib" >> $GITHUB_ENV
130+
fi
131+
132+
- name: Execute install.sh
133+
run: >
134+
./install.sh
135+
--build-dir=${{ github.workspace }}/build
136+
--prefix=${{ github.workspace }}/prefixenv
137+
${{ env.LINKAGE }}
138+
${{ env.ASSERT_NDEBUG }}
139+
${{ matrix.boost }}
140+
${{ matrix.icu }}
141+
142+
- name: Coveralls Calculation
143+
if: ${{ matrix.coverage == 'cov' }}
144+
run: |
145+
lcov --directory . --capture --output-file coverage.info
146+
lcov --remove coverage.info "/usr/*" "${{ github.workspace }}/prefixenv/*" "${{ github.workspace }}/build/*" "${{ github.workspace }}/examples/*" "${{ github.workspace }}/test/*" "${{ github.workspace }}/src/wallet/addresses/qrencode" --output-file coverage.info
147+
lcov --list coverage.info
148+
149+
- name: Coveralls.io Upload
150+
if: ${{ matrix.coverage == 'cov' }}
151+
uses: coverallsapp/github-action@master
152+
with:
153+
path-to-lcov: "./coverage.info"
154+
github-token: ${{ secrets.github_token }}
155+
156+
- name: Failure display selected compiler version
157+
if: ${{ failure() }}
158+
run: |
159+
${CC} -v
160+
${CXX} -v
161+
162+
- name: Failure display default compiler version
163+
if: ${{ failure() }}
164+
run: |
165+
clang -v
166+
gcc -v
167+
168+
- name: Failure display env
169+
if: ${{ failure() }}
170+
run: |
171+
env
172+
173+
- name: Failure list libdir
174+
if: ${{ failure() }}
175+
run: |
176+
ls -la ${{ github.workspace }}/prefixenv/lib
177+
178+
- name: Failure display boost bootstrap.log [--build-boost]
179+
if: ${{ failure() && (matrix.boost == '--build-boost') }}
180+
run: |
181+
cat ${{ github.workspace }}/build/build-*/bootstrap.log
182+
183+
- name: Failure display otool output
184+
if: ${{ failure() && (matrix.os == 'macos-latest') }}
185+
run: |
186+
otool -L ${{ github.workspace }}/test/.libs/libbitcoin-system-test
187+
188+
- name: Failure display DYLD_PRINT_LIBRARIES
189+
if: ${{ failure() && (matrix.os == 'macos-latest') }}
190+
run: |
191+
DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-system-test

.travis.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ endif WITH_EXAMPLES
223223
#------------------------------------------------------------------------------
224224
if WITH_TESTS
225225

226-
TESTS = libbitcoin-test_runner.sh
226+
TESTS = libbitcoin-system-test_runner.sh
227227

228228
check_PROGRAMS = test/libbitcoin-system-test
229229
test_libbitcoin_system_test_CPPFLAGS = -I${srcdir}/include ${icu} ${boost_BUILD_CPPFLAGS} ${pthread_BUILD_CPPFLAGS} ${icu_i18n_BUILD_CPPFLAGS} ${secp256k1_BUILD_CPPFLAGS}

0 commit comments

Comments
 (0)