1
0
Fork 0
forked from lthn/blockchain
Commit graph

4925 commits

Author SHA1 Message Date
Snider
5b9f4d7e81
Merge 8579b67ac6 into b02addf264 2025-09-30 15:28:27 +00:00
Snider
8579b67ac6 Bump version to 6.0.1
Updated version numbers in Makefile and src/version.h.in to 6.0.1 and incremented build number. Also updated docs submodule to latest commit.
2025-09-30 16:28:21 +01:00
Snider
044a2e0f61 Fix prerelease expression in upload-artifacts action
Corrects the syntax for the 'prerelease' field in the upload-artifacts GitHub Action to use proper expression evaluation. Also updates the docs submodule to the latest commit.
2025-09-30 15:56:08 +01:00
Snider
737cbb7a8a Extract and use BUILD_VERSION for release tag
The workflow now extracts BUILD_VERSION from the Makefile and uses it as the release tag name instead of the chain network. This ensures that releases are tagged with the correct version, and adds error handling if the version is not found.
2025-09-30 15:44:10 +01:00
Snider
93463e043d Update release tag to use only chain-network input
Modified the GitHub Actions workflow to set the release tag name to only use the 'chain-network' input, removing the 'release-tag' input from the tag name.
2025-09-30 15:36:22 +01:00
Snider
aad1b72b3d Update workflow permissions to contents: write
Changed GitHub Actions workflow permissions from 'contents: read' to 'contents: write' in all relevant workflow files. This allows workflows to perform write operations on repository contents, which may be required for certain actions or automation steps.
2025-09-30 15:13:43 +01:00
Snider
23af6b9caa Update workflow permissions to contents: write
Changed GitHub Actions workflow permissions from 'contents: read' to 'contents: write' for all build workflows. This allows workflows to perform write operations on repository contents, which may be required for publishing artifacts or releases.
2025-09-30 14:45:55 +01:00
Snider
6fa9487476 Inherit secrets in build workflow jobs
Added 'secrets: inherit' to all reusable workflow job calls in _on-pr.yml and _on-release.yml to ensure secrets are properly passed to downstream workflows. This change improves security and consistency in CI/CD processes.
2025-09-30 14:26:25 +01:00
Snider
3dd7d82b62 Update docs 2025-09-30 14:08:20 +01:00
Snider
a500d6bf25 Update docs 2025-09-30 14:02:06 +01:00
Snider
9875287811 Update workflow conditions and release action config
Allows user 'Snider' to trigger build jobs on PRs they author, in addition to the existing approval-based condition. Removes 'continue-on-error: true' from the release step in the upload-artifacts action to ensure failures are not ignored.
2025-09-30 12:12:11 +01:00
Snider
ba6252ed58 AI Code Review Fixes 2025-09-30 12:01:38 +01:00
Snider
248ba5e4bf tn 1 genesis 2025-09-29 22:40:12 +01:00
Snider
90417401ab Refactor CI workflows and update CPack config
Split build jobs by architecture and OS in GitHub Actions workflows, add Docker and docs build jobs, and update artifact upload to create GitHub releases. Also update CPackConfig.cmake to use BUILD_VERSION for package versioning.
2025-09-29 20:45:11 +01:00
Snider
6e4d8f7683 Refactor genesis files and update CMake targets
Moved genesis-related generated files and logic from currency_core/generated and genesis_generator to a new src/genesis directory. Updated CMakeLists and include paths to reflect the new structure. Adjusted test and db build scripts to use ZLIB::ZLIB and miniupnpc::miniupnpc targets. Added README with instructions for genesis block updates. Removed premine wallet generation logic from config CMakeLists.
2025-09-29 20:21:33 +01:00
Snider
6a7b6dd2df Refactor config system and move currency_config.h
Moved currency_config.h and related CMake/config files to a new src/config directory, creating a dedicated config CMake target. Updated all includes and build scripts to reference the new config location. Removed obsolete cmake/ChainConfig.cmake and example currency config, and restructured genesis generator and premine wallet logic into the new config system for improved modularity and maintainability.
2025-09-29 19:04:52 +01:00
Snider
c001204629 Update LICENSE.txt 2025-09-28 20:00:04 +01:00
Snider
fa721d1837 Remove Windows ARM64 build workflow
Deleted the build-windows-arm64.yml workflow and its invocation from _on-push.yml. This removes support for building on Windows ARM64, possibly due to deprecation or lack of necessity.
2025-09-28 19:23:40 +01:00
Snider
76d33a74b1 Add ARM64 build workflows and refactor CI for multi-arch
Introduced separate build workflows for Linux and Windows ARM64 architectures. Renamed existing Intel build workflows for clarity and updated the main workflow to trigger both Intel and ARM64 builds for Linux and Windows. Improved caching by including architecture in cache keys and set CPU_CORES for release builds across all platforms.
2025-09-28 18:34:57 +01:00
Snider
ef016f50fb Add SDK folder caching to build workflows
Introduces actions/cache to cache the build/sdk folder in Linux, macOS (Intel and ARM64), and Windows GitHub Actions workflows. Disables Conan's internal package caching in favor of the new cache step to improve build performance and consistency.
2025-09-28 17:49:17 +01:00
Snider
4ed552d332 Update CMake configs and improve packaging messages
Changed release build flags in CMakeLists.txt to suppress all warnings with '-w'. Updated CPackConfig.cmake to use 'message(STATUS ...)' for clearer status output and improved consistency. Removed unused COMPONENT argument from documentation install step in DocBuilder.cmake.
2025-09-28 17:33:37 +01:00
Snider
261b300f4f Refactor artifact upload in build workflows
Replaces multiple uses of actions/upload-artifact with a single custom upload-artifacts action in Linux, macOS, and Windows build workflows. This change simplifies artifact handling and standardizes the upload process across platforms.
2025-09-28 16:48:25 +01:00
Snider
36c38ab9c8 Update build system and version to 6.0.0
Refactored GitHub Actions workflows to upload specific package formats for each platform and standardized the release build process. Updated CMake and Makefile to support a configurable build version, now set to 6.0.0. Adjusted config and version headers to reflect the new versioning scheme and improved package configuration.
2025-09-28 16:33:18 +01:00
Snider
9412c22166 Add CPack packaging and update build system
Introduces CPack-based packaging with a new CPackConfig.cmake and related configuration variables. Updates Makefile and CMakeLists.txt to support packaging, renames project to Lethean, and adjusts workflow files to use unified 'release' build and artifact upload. Also adds install rules for main binaries and comments out install steps in libmdbx submodules.
2025-09-28 14:35:11 +01:00
Snider
7d7cfb7a5b Simplify Docker build workflow and update dependencies
Refactored the GitHub Actions workflow to remove the build matrix and multi-arch manifest steps, consolidating the build into a single job targeting a specific build target. Updated the Dockerfile to add python-is-python3 and python3-dev to dependencies for improved Python compatibility.
2025-09-27 23:10:43 +01:00
Snider
3ad2df6f9f Update Dockerfile 2025-09-27 22:16:03 +01:00
Snider
73131d0053 Add QEMU setup to Docker workflow and update Dockerfile deps
Introduces the docker/setup-qemu-action step in the GitHub Actions workflow to support multi-architecture builds. Also updates the lthn-chain Dockerfile to include autotools-dev and checkinstall in the build dependencies.
2025-09-27 22:12:29 +01:00
Snider
a6886700ae Update build-docker.yml 2025-09-27 21:39:06 +01:00
Snider
bde5bb44c3 Update build-docker.yml 2025-09-27 21:38:01 +01:00
Snider
4506fb88f1 Update _on-push.yml 2025-09-27 21:36:42 +01:00
Snider
66a7b597f4 Add multi-arch Docker build support and Makefile targets
This update enhances the Docker build workflow to support multiple architectures (amd64, arm64, armv7, ppc64le, riscv64, s390x) using buildx and matrix builds in GitHub Actions. The Makefile now includes new targets for building and exporting artifacts for each supported architecture. The Dockerfile is updated to allow conditional use of custom Conan profiles via a new USE_CUSTOM_PROFILE build argument.
2025-09-27 21:34:30 +01:00
Snider
dea8becdd9 Update Docker build args and testnet symlink logic
Adds build arguments to the Docker build workflow for testnet, threads, build target, and local build. Updates the Dockerfile to use the 'dev' branch by default and improves the testnet symlink creation logic to use sed for string replacement.
2025-09-27 18:15:08 +01:00
Snider
1ed048d962 Update Dockerfile build target to gcc-linux-x86_64
Changed the BUILD_TARGET argument in the lthn-chain Dockerfile from gcc-linux-armv8 to gcc-linux-x86_64 to target x86_64 architecture builds.
2025-09-27 17:57:54 +01:00
Snider
7cadbf139e Update build-docker.yml 2025-09-27 17:53:02 +01:00
Snider
91e6904c7d Update build-docker.yml 2025-09-27 17:42:23 +01:00
Snider
5a5e82974f Update build-docker.yml 2025-09-27 17:37:47 +01:00
Snider
67ad7705ee Update build-docker.yml 2025-09-27 17:35:08 +01:00
Snider
56518a6f96 Update build-docker.yml 2025-09-27 17:33:39 +01:00
Snider
3108260ec9 Update build-docker.yml 2025-09-27 17:32:21 +01:00
Snider
18c93466f2 Update Docker and Docs GitHub workflows
Bump docker/build-push-action to v6 and update file/context in build-docker.yml. Add job name 'Offline Local Version' to build-docs.yml for clarity.
2025-09-27 17:31:22 +01:00
Snider
6d9792ed3f Update Docker build workflow with dynamic job name
Adds a dynamic job name based on the chain network input and updates Docker build context and file paths to use absolute paths. This improves clarity in workflow runs and ensures correct Dockerfile resolution.
2025-09-27 17:23:28 +01:00
Snider
2783a7c339 Add DockerHub secrets to build-docker workflow
The build-docker workflow now requires DOCKERHUB_USERNAME and DOCKERHUB_TOKEN secrets, which are inherited in the _on-push workflow. This ensures DockerHub credentials are available for Docker-related actions.
2025-09-27 17:20:29 +01:00
Snider
f5cd385fb3 Add Docker build workflow and update push workflow
Introduces a new build-docker.yml GitHub Actions workflow for building and pushing Docker images. Updates the _on-push.yml workflow to include the Docker build job and renames job names for consistency.
2025-09-27 17:14:12 +01:00
Snider
80595a676d Merge branch 'dev-configure-testnet-1' of https://github.com/letheanVPN/blockchain into dev-configure-testnet-1 2025-09-27 16:40:23 +01:00
Snider
3307bb09ac Update docs 2025-09-27 16:40:10 +01:00
Y-o-D
2bea40337b
Corrected the value "Lethean wallet address ... for integrated address" (#18) 2025-09-27 16:26:52 +01:00
Snider
10bdc49525 Add docker build target for lthn-chain node
Introduces a new Makefile target 'docker-chain-node' to build the lthn/chain Docker image. Updates the lthn-chain Dockerfile with improved comments, sets BUILD_TESTNET=1 by default, and clarifies multi-stage build targets. Also updates the docs submodule reference.
2025-09-27 16:13:21 +01:00
Snider
4dfda9a1c7 Update build-windows.yml
removing the gha for msvc-193 due to breaking changes GHA dosnt have it, but users could have that installed so the profile is valid
2025-09-27 13:11:24 +01:00
Snider
dc6127eca5 Update build-windows.yml 2025-09-27 13:05:20 +01:00
Snider
ba4b5f4eca testing msvc-193 2025-09-27 13:04:23 +01:00