Skip to content

Commit

Permalink
5.4.9.0, 2025-02-16, leisure
Browse files Browse the repository at this point in the history
Added
 - depends: add cross arm64-darwin support #2775 (@div72)
 - build: add missing randomness checks #2772 (@div72)
 - init, registry: Support -clearallregistryhistory startup parameter #2773 (@jamescowens)

Changed
 - build: omit _FORTIFY_SOURCE on debug #2793 (@div72)
 - doc: cmake is required for Windows depends #2791 (@barton2526)
 - CMake: Set maximum supported Boost version #2788 (@CyberTailor)
 - ci: bump to MacOS 13 #2784 (@div72)
 - build/cmake: disable LevelDB tests #2776 (@div72)
 - util: use XDG_STATE_HOME for datadir on Flatpak #2774 (@div72)
 - util, build: Support miniupnp API version 18+ #2771 (@jamescowens)
 - build: explicitly include FindPkgConfig for CMake #2769 (@jamescowens)
 - ci, cd: bump action versions #2763 (@div72)
 - Sync CMake CI #2762 (@CyberTailor)
 - cpid: Modify CPID local hasher to eliminate compiler warnings on 32 bit archs #2760 (@jamescowens)

Removed
 - refactor, misc: remove CBitcoin(Address|Secret) #2634 (@div72)

Fixed
 - poll, gui: Disable choice add button in poll wizard when choice limit is reached #2792 (@jamescowens)
 - diagnose, rpc: fix compilation with boost 1.87 #2786 (@div72)
 - node: fix build with GCC 15 #2783 (@CyberTailor)
 - ci: use overwrite with brew install on MacOS CMake #2782 (@div72)
 - scraper: Protect access to ConvergedStats.csv.gz with a lock #2779 (@jamescowens)
 - fix build on FreeBSD #2770 (@wilkart)
 - rpc/server: fix removing deprecated commands from command list #2768 (@lrusak)
 - cmake bdb53: disable error for implicit-int with gcc #2767 (@lrusak)
  • Loading branch information
jamescowens committed Feb 16, 2025
2 parents 70635bb + 070d9b0 commit 9042f39
Show file tree
Hide file tree
Showing 143 changed files with 5,226 additions and 4,244 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
strategy:
fail-fast: false
matrix:
script-id: [win32, win64, mac]
script-id: [win32, win64, mac, mac_arm64_cross]
env:
FILE_ENV: ./cd/00_setup_env_${{ matrix.script-id }}.sh
OS_NAME: linux
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: current time for cache
run: echo "TIMESTAMP=$(date +%s)" >> $GITHUB_ENV
- name: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./depends/built
Expand Down
26 changes: 14 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ env:
jobs:
test-linux:
name: ${{ matrix.name }}
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
include:
- name: ARM [GOAL install] [buster]
- name: ARM [GOAL install] [bullseye]
script-id: arm
- name: Win32
script-id: win32
Expand All @@ -21,25 +21,27 @@ jobs:
script-id: linux_i386
- name: x86_64 Linux [GOAL install] [GUI] [focal] [no depends]
script-id: native
- name: x86_64 Linux [GOAL install] [GUI] [bionic] [no depends]
- name: x86_64 Linux [GOAL install] [GUI] [noble] [no depends]
script-id: native_old
- name: x86_64 Linux [ASan] [LSan] [UBSan] [integer] [jammy] [no depends]
script-id: native_asan
# FIXME: depends is unable to compile Qt with clang.
# - name: x86_64 Linux [TSan] [GUI] [jammy]
# script-id: native_tsan
- name: macOS 10.14 [GOAL deploy] [GUI] [no tests] [focal]
- name: macOS 10.14 [GOAL deploy] [GUI] [no tests] [noble]
script-id: mac
- name: arm64 macOS 10.14 [GOAL deploy] [GUI] [no tests] [noble]
script-id: mac_arm64_cross
env:
FILE_ENV: ./ci/test/00_setup_env_${{ matrix.script-id }}.sh
OS_NAME: linux
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: current time for cache
run: echo "TIMESTAMP=$(date +%s)" >> $GITHUB_ENV
- name: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./depends/built
Expand All @@ -51,20 +53,20 @@ jobs:
run: |
./ci/test_run_all.sh
test-macos:
name: macOS 12 native [GOAL install] [GUI] [no depends]
runs-on: macos-12
name: macOS 13 native [GOAL install] [GUI] [no depends]
runs-on: macos-13
env:
DANGER_RUN_CI_ON_HOST: true
CI_USE_APT_INSTALL: no
FILE_ENV: ./ci/test/00_setup_env_mac_host.sh
OS_NAME: macos
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: current time for cache
run: echo "TIMESTAMP=$(date +%s)" >> $GITHUB_ENV
- name: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./ci/scratch/.ccache
Expand All @@ -82,9 +84,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: setup-python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: lint
Expand Down
136 changes: 67 additions & 69 deletions .github/workflows/cmake-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,60 +47,59 @@ jobs:
-DSYSTEM_UNIVALUE=ON
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: |
packages: >-
${{matrix.deps}}
ccache
cmake
libcurl4-openssl-dev
libssl-dev
libzip-dev
ninja-build
pkgconf
zipcmp
zipmerge
ziptool
version: ${{matrix.tag}}
- name: Install Boost dependencies
run: |
sudo apt-get install -y --no-install-recommends \
libboost-dev \
libboost-date-time-dev \
libboost-exception-dev \
libboost-filesystem-dev \
libboost-iostreams-dev \
libboost-serialization-dev \
libboost-test-dev \
libboost-thread-dev
run: sudo apt-get install -y --no-install-recommends
libboost-dev
libboost-date-time-dev
libboost-exception-dev
libboost-filesystem-dev
libboost-iostreams-dev
libboost-serialization-dev
libboost-test-dev
libboost-thread-dev
- name: Configure
run: |
cmake -B ${{github.workspace}}/build -G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
${{matrix.options}} \
-DENABLE_TESTS=ON
run: cmake
-B ${{github.workspace}}/build -G Ninja
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
${{matrix.options}}
-DENABLE_TESTS=ON
- name: Restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-linux-${{matrix.tag}}-${{github.run_id}}
restore-keys: |
ccache-linux-${{matrix.tag}}-
restore-keys: ccache-linux-${{matrix.tag}}-
- name: Build
run: |
cmake --build ${{github.workspace}}/build -v -j $(nproc)
run: cmake --build ${{github.workspace}}/build -v -j $(nproc)
- name: Save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-linux-${{matrix.tag}}-${{github.run_id}}
- name: Run tests
run: |
ctest --test-dir ${{github.workspace}}/build -j $(nproc)
run: ctest --test-dir ${{github.workspace}}/build -j $(nproc)
- name: Upload test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: testlog-linux-${{matrix.tag}}
Expand Down Expand Up @@ -131,7 +130,7 @@ jobs:
qt@5
options: >-
-DENABLE_GUI=ON
-DQt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5
-DQt5_DIR=$(brew --prefix qt@5)/lib/cmake/Qt5
-DENABLE_QRENCODE=ON
-DENABLE_UPNP=ON
- tag: system-libs
Expand All @@ -141,52 +140,54 @@ jobs:
vim
options: >-
-DSYSTEM_BDB=ON
-DBerkeleyDB_INCLUDE_DIR=/usr/local/opt/berkeley-db@5/include
-DBerkeleyDB_CXX_LIBRARY=/usr/local/opt/berkeley-db@5/lib/libdb_cxx.dylib
-DBerkeleyDB_INCLUDE_DIR=$(brew --prefix berkeley-db@5)/include
-DBerkeleyDB_CXX_LIBRARY=$(brew --prefix berkeley-db@5)/lib/libdb_cxx.dylib
-DSYSTEM_SECP256K1=ON
-DSYSTEM_XXD=ON
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install dependencies
run: brew install --overwrite
${{matrix.deps}}
boost
ccache
libzip
ninja
openssl@3
perl
pkg-config
- name: Prepare source
run: |
brew install boost ccache ninja ${{matrix.deps}}
- name: Configure
run: |
PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig:${PKG_CONFIG_PATH}"
export PKG_CONFIG_PATH
pushd src
../contrib/nomacro.pl
popd
cmake -B ${{github.workspace}}/build -G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
${{matrix.options}} \
-DENABLE_TESTS=ON
- name: Configure
run: cmake
-B ${{github.workspace}}/build -G Ninja
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
${{matrix.options}}
-DENABLE_TESTS=ON
- name: Restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-macos-${{matrix.tag}}-${{github.run_id}}
restore-keys: |
ccache-macos-${{matrix.tag}}-
restore-keys: ccache-macos-${{matrix.tag}}-
- name: Build
run: |
cmake --build ${{github.workspace}}/build -v -j $(sysctl -n hw.logicalcpu)
run: cmake --build ${{github.workspace}}/build -v -j $(sysctl -n hw.logicalcpu)
- name: Save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-macos-${{matrix.tag}}-${{github.run_id}}
- name: Run tests
run: |
ctest --test-dir ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)
run: ctest --test-dir ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)
- name: Upload test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: testlog-macos-${{matrix.tag}}
Expand Down Expand Up @@ -224,7 +225,7 @@ jobs:
-DENABLE_UPNP=ON
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup MSYS2
uses: msys2/setup-msys2@v2
with:
Expand All @@ -243,34 +244,31 @@ jobs:
openssl:p
toolchain:p
- name: Configure
run: |
cmake -B ./build -G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
${{matrix.options}} \
-DBUILD_SHARED_LIBS=OFF -DENABLE_TESTS=ON
run: cmake
-B ./build -G Ninja
-DCMAKE_C_COMPILER_LAUNCHER=ccache
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
${{matrix.options}}
-DBUILD_SHARED_LIBS=OFF -DENABLE_TESTS=ON
- name: Restore cache
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-msys2-${{matrix.tag}}-${{github.run_id}}
restore-keys: |
ccache-msys2-${{matrix.tag}}-
restore-keys: ccache-msys2-${{matrix.tag}}-
- name: Build
run: |
cmake --build ./build -v -j $NUMBER_OF_PROCESSORS
run: cmake --build ./build -v -j $NUMBER_OF_PROCESSORS
- name: Save cache
uses: actions/cache/save@v3
uses: actions/cache/save@v4
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-msys2-${{matrix.tag}}-${{github.run_id}}
- name: Run tests
run: |
ctest --test-dir ./build -j $NUMBER_OF_PROCESSORS
run: ctest --test-dir ./build -j $NUMBER_OF_PROCESSORS
- name: Upload test logs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: testlog-msys-${{matrix.tag}}
Expand Down
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,39 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## [5.4.9.0], 2025-02-16, leisure

### Added
- depends: add cross arm64-darwin support #2775 (@div72)
- build: add missing randomness checks #2772 (@div72)
- init, registry: Support -clearallregistryhistory startup parameter #2773 (@jamescowens)

### Changed
- build: omit _FORTIFY_SOURCE on debug #2793 (@div72)
- doc: cmake is required for Windows depends #2791 (@barton2526)
- CMake: Set maximum supported Boost version #2788 (@CyberTailor)
- ci: bump to MacOS 13 #2784 (@div72)
- build/cmake: disable LevelDB tests #2776 (@div72)
- util: use XDG_STATE_HOME for datadir on Flatpak #2774 (@div72)
- util, build: Support miniupnp API version 18+ #2771 (@jamescowens)
- build: explicitly include FindPkgConfig for CMake #2769 (@jamescowens)
- ci, cd: bump action versions #2763 (@div72)
- Sync CMake CI #2762 (@CyberTailor)
- cpid: Modify CPID local hasher to eliminate compiler warnings on 32 bit archs #2760 (@jamescowens)

### Removed
- refactor, misc: remove CBitcoin(Address|Secret) #2634 (@div72)

### Fixed
- poll, gui: Disable choice add button in poll wizard when choice limit is reached #2792 (@jamescowens)
- diagnose, rpc: fix compilation with boost 1.87 #2786 (@div72)
- node: fix build with GCC 15 #2783 (@CyberTailor)
- ci: use overwrite with brew install on MacOS CMake #2782 (@div72)
- scraper: Protect access to ConvergedStats.csv.gz with a lock #2779 (@jamescowens)
- fix build on FreeBSD #2770 (@wilkart)
- rpc/server: fix removing deprecated commands from command list #2768 (@lrusak)
- cmake bdb53: disable error for implicit-int with gcc #2767 (@lrusak)

## [5.4.8.0], 2024-04-10, leisure

### Added
Expand Down
Loading

0 comments on commit 9042f39

Please sign in to comment.