Skip to content

Commit f8bfc5d

Browse files
committed
Regenerate artifacts.
1 parent 34e96ce commit f8bfc5d

38 files changed

Lines changed: 407 additions & 100 deletions

.github/workflows/ci.yml

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
###############################################################################
2+
# Copyright (c) 2014-2020 libbitcoin-database 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/*" --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 compiler version
157+
if: ${{ failure() }}
158+
run: |
159+
gcc -v
160+
clang -v
161+
162+
- name: Failure display env
163+
if: ${{ failure() }}
164+
run: |
165+
env
166+
167+
- name: Failure list libdir
168+
if: ${{ failure() }}
169+
run: |
170+
ls -la ${{ github.workspace }}/prefixenv/lib
171+
172+
- name: Failure display boost bootstrap.log [--build-boost]
173+
if: ${{ failure() && (matrix.boost == '--build-boost') }}
174+
run: |
175+
cat ${{ github.workspace }}/build/build-*/bootstrap.log
176+
177+
- name: Failure display otool output
178+
if: ${{ failure() && (matrix.os == 'macos-latest') }}
179+
run: |
180+
otool -L ${{ github.workspace }}/test/.libs/libbitcoin-database-test
181+
182+
- name: Failure display DYLD_PRINT_LIBRARIES
183+
if: ${{ failure() && (matrix.os == 'macos-latest') }}
184+
run: |
185+
DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-database-test

build.cmd

Lines changed: 5 additions & 3 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"
@@ -95,7 +97,7 @@ exit /b 0
9597

9698
:depends
9799
call :pending "nuget restoring dependencies for %~1..."
98-
call nuget restore "%path_base%\%~1\builds\msvc\%proj_version%\%~1.sln" -Outputdir "%nuget_pkg_path%"
100+
call nuget restore "%path_base%\%~1\builds\msvc\%proj_version%\%~1.sln" -OutputDirectory "%nuget_pkg_path%"
99101
IF %ERRORLEVEL% NEQ 0 (
100102
call :failure "nuget restore failed."
101103
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-database 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/libbitcoin-database-test/libbitcoin-database-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-database developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-database developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -128,4 +128,7 @@
128128
<Project>{62D7FBEE-4D52-424A-8938-59756E13D9F5}</Project>
129129
</ProjectReference>
130130
</ItemGroup>
131+
<ItemGroup>
132+
<Natvis Include="..\..\debug.natvis" />
133+
</ItemGroup>
131134
</Project>

builds/msvc/vs2013/libbitcoin-database-test/libbitcoin-database-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-database developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-database developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -46,4 +46,7 @@
4646
<ItemGroup>
4747
<None Include="packages.config" />
4848
</ItemGroup>
49+
<ItemGroup>
50+
<Natvis Include="..\..\debug.natvis" />
51+
</ItemGroup>
4952
</Project>

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

builds/msvc/vs2013/libbitcoin-database-tools/libbitcoin-database-tools.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,3 @@
5252
</Target>
5353

5454
</Project>
55-

builds/msvc/vs2013/libbitcoin-database-tools/libbitcoin-database-tools.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-database developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-database developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -117,4 +117,7 @@
117117
<Project>{62D7FBEE-4D52-424A-8938-59756E13D9F5}</Project>
118118
</ProjectReference>
119119
</ItemGroup>
120+
<ItemGroup>
121+
<Natvis Include="..\..\debug.natvis" />
122+
</ItemGroup>
120123
</Project>

builds/msvc/vs2013/libbitcoin-database-tools/libbitcoin-database-tools.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-database developers (see COPYING).
3+
| Copyright (c) 2014-2021 libbitcoin-database developers (see COPYING).
44
|
55
| GENERATED SOURCE CODE, DO NOT EDIT EXCEPT EXPERIMENTALLY
66
|
@@ -22,4 +22,7 @@
2222
<ItemGroup>
2323
<None Include="packages.config" />
2424
</ItemGroup>
25+
<ItemGroup>
26+
<Natvis Include="..\..\debug.natvis" />
27+
</ItemGroup>
2528
</Project>

0 commit comments

Comments
 (0)