Commit graph

37 commits

Author SHA1 Message Date
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
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
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
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
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
Snider
938c473c88 Update build targets and artifact paths for consistency
Standardized build target names and artifact directory paths across Linux, macOS (Intel and ARM), and Windows GitHub Actions workflows. Updated Dockerfile to use 'gcc-linux-armv8' as the build target and added 'bison' to dependencies for improved build environment consistency.
2025-09-27 02:10:51 +01:00
Snider
ba059f76d4 Rename binaries to lethean-* and update workflows
Changed output binary names in CMakeLists.txt from zanod/simplewallet to lethean-* variants, with testnet-specific names when applicable. Updated GitHub Actions workflows to upload lethean-* artifacts instead of the previous explicit binary names.
2025-09-25 21:22:15 +01:00
Snider
007d9fbd49 Update build-windows.yml 2025-09-25 17:55:07 +01:00
Snider
3d7e7166f2 Add TESTNET flag to build workflows and Makefile
Introduces a TESTNET variable to the Makefile and passes it from GitHub Actions workflows based on the chain-network input. Updates CMake build commands to include the TESTNET flag, improves help output formatting, and comments out unused genesis targets for clarity.
2025-09-25 17:54:52 +01:00
Snider
bf22a89733
Dev 12 documentation overhaul (#13)
Introduces a 'docs' submodule for project documentation and integrates MkDocs build steps via CMake and Makefile.
2025-09-25 16:04:33 +01:00
Snider
2f1011e27c
Final Build Foundations (#11) 2025-09-25 00:25:52 +01:00
Snider
7b0c286cef Update build workflows for macOS and Windows
Changed build commands and artifact directories in macOS and Windows GitHub Actions workflows to use new target names and paths. Removed 'connectivity_tool' from CLI artifacts.
2025-09-24 22:21:43 +01:00
Snider
b84b99287d Refactor build profiles and update CI workflows
Renamed and reorganized CMake build profiles for consistency, removing unused Android, iOS, and MinGW profiles. Updated GitHub Actions workflows and Makefile to use new profile names and increased build parallelism for faster builds.
2025-09-24 22:21:32 +01:00
Snider
a03d081287
Build Improvements (#10) 2025-09-24 21:01:35 +01:00
Snider
2eaa599066
GitHub Build Workflows (#7) 2025-08-30 17:46:00 +01:00
Snider
eafeb894f9
GitHub CLI Building (#5)
- Linux: https://github.com/letheanVPN/blockchain/actions/runs/17264025940
- MacOS-aarch64: https://github.com/letheanVPN/blockchain/actions/runs/17264025933
- MacOS-amd64: https://github.com/letheanVPN/blockchain/actions/runs/17264025928
- Windows: https://github.com/letheanVPN/blockchain/actions/runs/17265388073
2025-08-27 12:51:11 +01:00