Skip to content

Commit e3d6010

Browse files
authored
Merge pull request #550 from pmienk/version3
Regenerate artifacts.
2 parents 0b49d19 + 39cea12 commit e3d6010

46 files changed

Lines changed: 473 additions & 354 deletions

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 & 82 deletions
This file was deleted.

.github/workflows/ci.yml

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

.travis.yml

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

0 commit comments

Comments
 (0)