Skip to content

Commit 47b396c

Browse files
committed
Regenerate artifacts.
1 parent 0b49d19 commit 47b396c

44 files changed

Lines changed: 473 additions & 164 deletions

Some content is hidden

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

.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

build.cmd

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@ REM ###########################################################################
77
@echo off
88
SETLOCAL ENABLEEXTENSIONS
99
SET "parent=%~dp0"
10-
SET "path_base=%~1"
11-
SET "nuget_pkg_path=%~1\.nuget\packages"
10+
SET "relative_path_base=%~1"
11+
call cd /d "%relative_path_base%"
12+
SET "path_base=%cd%"
13+
SET "nuget_pkg_path=%path_base%\.nuget\packages"
1214
SET "msbuild_args=/verbosity:minimal /p:Platform=%~2 /p:Configuration=%~3"
1315
SET "proj_version=%~4"
1416
SET "msbuild_exe=msbuild"
@@ -28,14 +30,14 @@ IF %ERRORLEVEL% NEQ 0 (
2830
call :failure "Initializing repository libbitcoin libbitcoin-system version3 failed."
2931
exit /b 1
3032
)
31-
call :init libbitcoin libbitcoin-consensus version3
33+
call :init libbitcoin libbitcoin-database version3
3234
IF %ERRORLEVEL% NEQ 0 (
33-
call :failure "Initializing repository libbitcoin libbitcoin-consensus version3 failed."
35+
call :failure "Initializing repository libbitcoin libbitcoin-database version3 failed."
3436
exit /b 1
3537
)
36-
call :init libbitcoin libbitcoin-database version3
38+
call :init libbitcoin libbitcoin-consensus version3
3739
IF %ERRORLEVEL% NEQ 0 (
38-
call :failure "Initializing repository libbitcoin libbitcoin-database version3 failed."
40+
call :failure "Initializing repository libbitcoin libbitcoin-consensus version3 failed."
3941
exit /b 1
4042
)
4143
call :init libbitcoin libbitcoin-blockchain version3
@@ -125,7 +127,7 @@ exit /b 0
125127

126128
:depends
127129
call :pending "nuget restoring dependencies for %~1..."
128-
call nuget restore "%path_base%\%~1\builds\msvc\%proj_version%\%~1.sln" -Outputdir "%nuget_pkg_path%"
130+
call nuget restore "%path_base%\%~1\builds\msvc\%proj_version%\%~1.sln" -OutputDirectory "%nuget_pkg_path%"
129131
IF %ERRORLEVEL% NEQ 0 (
130132
call :failure "nuget restore failed."
131133
exit /b 1

builds/msvc/build/build_base.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CALL "%environment%" x86 > nul
2121
ECHO Platform=x86
2222

2323
ECHO Configuration=StaticDebug
24-
msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=Win32 %solution% > %log%
24+
msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=Win32 %solution% >> %log%
2525
IF errorlevel 1 GOTO error
2626
ECHO Configuration=StaticRelease
2727
msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=Win32 %solution% >> %log%

builds/msvc/debug.natvis

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
| Copyright (c) 2014-2021 libbitcoin-server developers (see COPYING).
4+
|
5+
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
6+
|
7+
-->
8+
<AutoVisualizer xmlns="http://schemas.microsoft.com/vstudio/debugger/natvis/2010">
9+
10+
<!-- boost::multiprecision::number<boost::multiprecision::cpp_int_backend<*, *, 0, 0, void>> -->
11+
<Type Name="boost::multiprecision::number&lt;*&gt;">
12+
<DisplayString>{ m_backend }</DisplayString>
13+
</Type>
14+
15+
<!-- boost::multiprecision::backends::cpp_int_backend<*,*,0,0,void> -->
16+
<Type Name="boost::multiprecision::backends::cpp_int_backend&lt;*,*,0,0,void&gt;">
17+
<DisplayString>{ m_data }</DisplayString>
18+
</Type>
19+
20+
</AutoVisualizer>

builds/msvc/vs2013/bs/bs.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,3 @@
8686
</Target>
8787

8888
</Project>
89-

builds/msvc/vs2013/bs/bs.vcxproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
| Copyright (c) 2014-2020 libbitcoin-server developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-server developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -127,4 +127,7 @@
127127
<Project>{73CE0AC2-ECB2-4E8D-A136-17840C0371A0}</Project>
128128
</ProjectReference>
129129
</ItemGroup>
130+
<ItemGroup>
131+
<Natvis Include="..\..\debug.natvis" />
132+
</ItemGroup>
130133
</Project>

builds/msvc/vs2013/bs/bs.vcxproj.filters

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
| Copyright (c) 2014-2020 libbitcoin-server developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-server developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -33,6 +33,9 @@
3333
<ItemGroup>
3434
<None Include="packages.config" />
3535
</ItemGroup>
36+
<ItemGroup>
37+
<Natvis Include="..\..\debug.natvis" />
38+
</ItemGroup>
3639
<ItemGroup>
3740
<ResourceCompile Include="..\..\resource.rc">
3841
<Filter>resource</Filter>

builds/msvc/vs2013/bs/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
| Copyright (c) 2014-2020 libbitcoin-server developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-server developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|

builds/msvc/vs2013/libbitcoin-server-test/libbitcoin-server-test.props

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,3 @@
8989
</Target>
9090

9191
</Project>
92-
93-
94-

builds/msvc/vs2013/libbitcoin-server-test/libbitcoin-server-test.vcxproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!--
3-
| Copyright (c) 2014-2020 libbitcoin-server developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-server developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -122,4 +122,7 @@
122122
<Project>{73CE0AC2-ECB2-4E8D-A136-17840C0371A0}</Project>
123123
</ProjectReference>
124124
</ItemGroup>
125+
<ItemGroup>
126+
<Natvis Include="..\..\debug.natvis" />
127+
</ItemGroup>
125128
</Project>

0 commit comments

Comments
 (0)