Skip to content

Commit 144dae7

Browse files
committed
Regenerate artifacts.
1 parent 5b25bab commit 144dae7

38 files changed

+449
-141
lines changed

.github/workflows/ci.yml

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

116118
:depends
117119
call :pending "nuget restoring dependencies for %~1..."
118-
call nuget restore "%path_base%\%~1\builds\msvc\%proj_version%\%~1.sln" -Outputdir "%nuget_pkg_path%"
120+
call nuget restore "%path_base%\%~1\builds\msvc\%proj_version%\%~1.sln" -OutputDirectory "%nuget_pkg_path%"
119121
IF %ERRORLEVEL% NEQ 0 (
120122
call :failure "nuget restore failed."
121123
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-node 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/bn/bn.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-node developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-node developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -125,4 +125,7 @@
125125
<Project>{5FFB5F52-0772-4404-BB2F-39BE5F82A158}</Project>
126126
</ProjectReference>
127127
</ItemGroup>
128+
<ItemGroup>
129+
<Natvis Include="..\..\debug.natvis" />
130+
</ItemGroup>
128131
</Project>

builds/msvc/vs2013/bn/bn.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-node developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-node 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/bn/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-node developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-node developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,3 @@
7575
</Target>
7676

7777
</Project>
78-
79-
80-

builds/msvc/vs2013/libbitcoin-node-test/libbitcoin-node-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-node developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-node developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -131,4 +131,7 @@
131131
<Project>{5FFB5F52-0772-4404-BB2F-39BE5F82A158}</Project>
132132
</ProjectReference>
133133
</ItemGroup>
134+
<ItemGroup>
135+
<Natvis Include="..\..\debug.natvis" />
136+
</ItemGroup>
134137
</Project>

builds/msvc/vs2013/libbitcoin-node-test/libbitcoin-node-test.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-node developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-node developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -51,4 +51,7 @@
5151
<ItemGroup>
5252
<None Include="packages.config" />
5353
</ItemGroup>
54+
<ItemGroup>
55+
<Natvis Include="..\..\debug.natvis" />
56+
</ItemGroup>
5457
</Project>

0 commit comments

Comments
 (0)