Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate artifacts with macos-13. #146

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 22 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
assert: "ndebug"
coverage: "nocov"
boost: "--build-boost"
icu: "--with-icu"
icu: ""
cc: "clang"
flags: "-Os -fPIE"
flags: "-Os -fPIE -DBOOST_NO_CXX98_FUNCTION_BASE"
options: "--enable-isystem"
packager: "brew"
packages: "icu4c"
Expand All @@ -94,12 +94,12 @@ jobs:
assert: "ndebug"
coverage: "nocov"
boost: "--build-boost"
icu: "--build-icu --with-icu"
icu: ""
cc: "clang"
flags: "-Os -fvisibility=hidden -fPIE"
flags: "-Os -fvisibility=hidden -fPIE -DBOOST_NO_CXX98_FUNCTION_BASE"
options: "--enable-isystem"
packager: "brew"
packages: ""
packages: "icu4c"


runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:

- name: Coveralls.io Upload
if: ${{ matrix.coverage == 'cov' }}
uses: coverallsapp/github-action@v2.2.3
uses: coverallsapp/github-action@v2.3.0
with:
format: lcov
files: "./coverage.info"
Expand Down Expand Up @@ -220,11 +220,12 @@ jobs:


- name: Failure display otool output
if: ${{ failure() && (matrix.os == 'macos-latest') }}
if: ${{ failure() && startsWith(matrix.os, 'macos') }}
run: |
otool -L ${{ github.workspace }}/test/.libs/libbitcoin-consensus-test

- name: Failure display DYLD_PRINT_LIBRARIES
if: ${{ failure() && (matrix.os == 'macos-latest') }}
if: ${{ failure() && startsWith(matrix.os, 'macos') }}
run: |
DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-consensus-test

Expand Down Expand Up @@ -304,9 +305,9 @@ jobs:
assert: "ndebug"
coverage: "nocov"
boost: "--build-boost"
icu: "--with-icu"
icu: ""
cc: "clang"
flags: "-Os -fPIE"
flags: "-Os -fPIE -DBOOST_NO_CXX98_FUNCTION_BASE"
options: ""
packager: "brew"
packages: "icu4c"
Expand All @@ -318,12 +319,12 @@ jobs:
assert: "ndebug"
coverage: "nocov"
boost: "--build-boost"
icu: "--build-icu --with-icu"
icu: ""
cc: "clang"
flags: "-Os -fvisibility=hidden -fPIE"
flags: "-Os -fvisibility=hidden -fPIE -DBOOST_NO_CXX98_FUNCTION_BASE"
options: ""
packager: "brew"
packages: ""
packages: "icu4c"


runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -407,7 +408,7 @@ jobs:

- name: Coveralls.io Upload
if: ${{ matrix.coverage == 'cov' }}
uses: coverallsapp/github-action@v2.2.3
uses: coverallsapp/github-action@v2.3.0
with:
format: lcov
files: "./coverage.info"
Expand Down Expand Up @@ -447,11 +448,12 @@ jobs:


- name: Failure display otool output
if: ${{ failure() && (matrix.os == 'macos-latest') }}
if: ${{ failure() && startsWith(matrix.os, 'macos') }}
run: |
otool -L ${{ github.workspace }}/test/.libs/libbitcoin-consensus-test

- name: Failure display DYLD_PRINT_LIBRARIES
if: ${{ failure() && (matrix.os == 'macos-latest') }}
if: ${{ failure() && startsWith(matrix.os, 'macos') }}
run: |
DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-consensus-test

Expand Down Expand Up @@ -606,7 +608,7 @@ jobs:

- name: Coveralls.io Upload
if: ${{ matrix.coverage == 'cov' }}
uses: coverallsapp/github-action@v2.2.3
uses: coverallsapp/github-action@v2.3.0
with:
format: lcov
files: "./coverage.info"
Expand Down Expand Up @@ -646,11 +648,12 @@ jobs:


- name: Failure display otool output
if: ${{ failure() && (matrix.os == 'macos-latest') }}
if: ${{ failure() && startsWith(matrix.os, 'macos') }}
run: |
otool -L ${{ github.workspace }}/test/.libs/libbitcoin-consensus-test

- name: Failure display DYLD_PRINT_LIBRARIES
if: ${{ failure() && (matrix.os == 'macos-latest') }}
if: ${{ failure() && startsWith(matrix.os, 'macos') }}
run: |
DYLD_PRINT_LIBRARIES=1 ${{ github.workspace }}/test/.libs/libbitcoin-consensus-test

Expand Down
14 changes: 7 additions & 7 deletions install-cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ PRESUMED_CI_PROJECT_PATH=$(pwd)

# Boost archive.
#------------------------------------------------------------------------------
BOOST_URL="http://downloads.sourceforge.net/project/boost/boost/1.78.0/boost_1_78_0.tar.bz2"
BOOST_URL="https://archives.boost.io/release/1.78.0/source/boost_1_78_0.tar.bz2"
BOOST_ARCHIVE="boost_1_78_0.tar.bz2"


Expand Down Expand Up @@ -510,7 +510,7 @@ unpack_from_tarball()
local COMPRESSION=$3
local BUILD=$4

display_heading_message "Prepairing to aquire $ARCHIVE"
display_heading_message "Preparing to acquire $ARCHIVE"

if [[ ! ($BUILD) ]]; then
display_message "Skipping unpack of $ARCHIVE..."
Expand Down Expand Up @@ -556,7 +556,7 @@ build_from_tarball()
return
fi

display_heading_message "Prepairing to build $ARCHIVE"
display_heading_message "Preparing to build $ARCHIVE"

# Because ICU tools don't know how to locate internal dependencies.
if [[ ($ARCHIVE == "$ICU_ARCHIVE") ]]; then
Expand Down Expand Up @@ -614,7 +614,7 @@ create_from_github()

FORK="$ACCOUNT/$REPO"

display_heading_message "Prepairing to aquire $FORK/$BRANCH"
display_heading_message "Preparing to acquire $FORK/$BRANCH"

if [[ -d "$REPO" ]]; then
if [[ true ]]; then
Expand Down Expand Up @@ -649,7 +649,7 @@ build_from_github()
# Join generated and command line options.
local CONFIGURATION=("${OPTIONS[@]}" "$@")

display_heading_message "Prepairing to build $REPO"
display_heading_message "Preparing to build $REPO"

# Build the local repository clone.
make_project_directory "$REPO" "$JOBS" "$TEST" "${CONFIGURATION[@]}"
Expand Down Expand Up @@ -717,7 +717,7 @@ build_from_github_cmake()
# Join generated and command line options.
local CONFIGURATION=("${OPTIONS[@]}" "$@")

display_heading_message "Prepairing to build $REPO"
display_heading_message "Preparing to build $REPO"

# Build the local repository clone.
cmake_project_directory "$REPO" "$JOBS" "$TEST" "${CONFIGURATION[@]}"
Expand Down Expand Up @@ -803,7 +803,7 @@ build_from_tarball_boost()
return
fi

display_heading_message "Prepairing to build $ARCHIVE"
display_heading_message "Preparing to build $ARCHIVE"

local TARGET="build-$ARCHIVE"

Expand Down
21 changes: 8 additions & 13 deletions install-cmakepresets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ PRESUMED_CI_PROJECT_PATH=$(pwd)

# Boost archive.
#------------------------------------------------------------------------------
BOOST_URL="http://downloads.sourceforge.net/project/boost/boost/1.78.0/boost_1_78_0.tar.bz2"
BOOST_URL="https://archives.boost.io/release/1.78.0/source/boost_1_78_0.tar.bz2"
BOOST_ARCHIVE="boost_1_78_0.tar.bz2"


Expand Down Expand Up @@ -547,7 +547,7 @@ unpack_from_tarball()
local COMPRESSION=$3
local BUILD=$4

display_heading_message "Prepairing to aquire $ARCHIVE"
display_heading_message "Preparing to acquire $ARCHIVE"

if [[ ! ($BUILD) ]]; then
display_message "Skipping unpack of $ARCHIVE..."
Expand Down Expand Up @@ -593,7 +593,7 @@ build_from_tarball()
return
fi

display_heading_message "Prepairing to build $ARCHIVE"
display_heading_message "Preparing to build $ARCHIVE"

# Because ICU tools don't know how to locate internal dependencies.
if [[ ($ARCHIVE == "$ICU_ARCHIVE") ]]; then
Expand Down Expand Up @@ -651,7 +651,7 @@ create_from_github()

FORK="$ACCOUNT/$REPO"

display_heading_message "Prepairing to aquire $FORK/$BRANCH"
display_heading_message "Preparing to acquire $FORK/$BRANCH"

if [[ -d "$REPO" ]]; then
if [[ true ]]; then
Expand Down Expand Up @@ -686,7 +686,7 @@ build_from_github()
# Join generated and command line options.
local CONFIGURATION=("${OPTIONS[@]}" "$@")

display_heading_message "Prepairing to build $REPO"
display_heading_message "Preparing to build $REPO"

# Build the local repository clone.
make_project_directory "$REPO" "$JOBS" "$TEST" "${CONFIGURATION[@]}"
Expand All @@ -700,14 +700,9 @@ cmake_tests()

# Build and run unit tests relative to the primary directory.
# VERBOSE=1 ensures test runner output sent to console (gcc).
make -j"$JOBS" test "VERBOSE=1"
CTEST_OUTPUT_ON_FAILURE=ON make -j"$JOBS" test "VERBOSE=1"
local RESULT=$?

# Test runners emit to the test.log file.
if [[ -e "test.log" ]]; then
cat "test.log"
fi

if [[ $RESULT -ne 0 ]]; then
exit $RESULT
fi
Expand Down Expand Up @@ -762,7 +757,7 @@ build_from_github_cmake()
# Join generated and command line options.
local CONFIGURATION=("${OPTIONS[@]}" "$@")

display_heading_message "Prepairing to build $REPO"
display_heading_message "Preparing to build $REPO"

# Build the local repository clone.
cmake_project_directory "$REPO" "$PRESET" "$JOBS" "$TEST" "${CONFIGURATION[@]}"
Expand Down Expand Up @@ -848,7 +843,7 @@ build_from_tarball_boost()
return
fi

display_heading_message "Prepairing to build $ARCHIVE"
display_heading_message "Preparing to build $ARCHIVE"

local TARGET="build-$ARCHIVE"

Expand Down
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ PRESUMED_CI_PROJECT_PATH=$(pwd)

# Boost archive.
#------------------------------------------------------------------------------
BOOST_URL="http://downloads.sourceforge.net/project/boost/boost/1.78.0/boost_1_78_0.tar.bz2"
BOOST_URL="https://archives.boost.io/release/1.78.0/source/boost_1_78_0.tar.bz2"
BOOST_ARCHIVE="boost_1_78_0.tar.bz2"


Expand Down Expand Up @@ -450,7 +450,7 @@ unpack_from_tarball()
local COMPRESSION=$3
local BUILD=$4

display_heading_message "Prepairing to aquire $ARCHIVE"
display_heading_message "Preparing to acquire $ARCHIVE"

if [[ ! ($BUILD) ]]; then
display_message "Skipping unpack of $ARCHIVE..."
Expand Down Expand Up @@ -496,7 +496,7 @@ build_from_tarball()
return
fi

display_heading_message "Prepairing to build $ARCHIVE"
display_heading_message "Preparing to build $ARCHIVE"

# Because ICU tools don't know how to locate internal dependencies.
if [[ ($ARCHIVE == "$ICU_ARCHIVE") ]]; then
Expand Down Expand Up @@ -554,7 +554,7 @@ create_from_github()

FORK="$ACCOUNT/$REPO"

display_heading_message "Prepairing to aquire $FORK/$BRANCH"
display_heading_message "Preparing to acquire $FORK/$BRANCH"

if [[ -d "$REPO" ]]; then
if [[ true ]]; then
Expand Down Expand Up @@ -589,7 +589,7 @@ build_from_github()
# Join generated and command line options.
local CONFIGURATION=("${OPTIONS[@]}" "$@")

display_heading_message "Prepairing to build $REPO"
display_heading_message "Preparing to build $REPO"

# Build the local repository clone.
make_project_directory "$REPO" "$JOBS" "$TEST" "${CONFIGURATION[@]}"
Expand Down Expand Up @@ -675,7 +675,7 @@ build_from_tarball_boost()
return
fi

display_heading_message "Prepairing to build $ARCHIVE"
display_heading_message "Preparing to build $ARCHIVE"

local TARGET="build-$ARCHIVE"

Expand Down
Loading