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.
This commit is contained in:
parent
a03d081287
commit
b84b99287d
10 changed files with 5 additions and 46 deletions
5
.github/workflows/build-linux.yml
vendored
5
.github/workflows/build-linux.yml
vendored
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
cache_packages: true
|
||||
|
||||
- name: Compile Release
|
||||
run: make linux_x86_64
|
||||
run: make gcc-linux-amd64-release
|
||||
|
||||
- name: CLI Artifacts
|
||||
if: ${{ inputs.build-cli }}
|
||||
|
|
@ -57,6 +57,5 @@ jobs:
|
|||
assets: |
|
||||
zanod
|
||||
simplewallet
|
||||
connectivity_tool
|
||||
asset-type: 'cli'
|
||||
asset-directory: ${{ github.workspace }}/build/linux_x86_64/src
|
||||
asset-directory: ${{ github.workspace }}/build/gcc-linux-amd64-release/src
|
||||
|
|
|
|||
5
.github/workflows/build-macos-intel.yml
vendored
5
.github/workflows/build-macos-intel.yml
vendored
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
cache_packages: true
|
||||
|
||||
- name: Compile Release
|
||||
run: make mac_intel
|
||||
run: make apple-clang-arm64-release
|
||||
|
||||
- name: CLI Artifacts
|
||||
if: ${{ inputs.build-cli }}
|
||||
|
|
@ -57,6 +57,5 @@ jobs:
|
|||
assets: |
|
||||
zanod
|
||||
simplewallet
|
||||
connectivity_tool
|
||||
asset-type: 'cli'
|
||||
asset-directory: ${{ github.workspace }}/build/mac_intel/src
|
||||
asset-directory: ${{ github.workspace }}/build/apple-clang-arm64-release/src
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -67,7 +67,7 @@ $(PROFILES): conan-profile-detect
|
|||
@echo "Building profile: $@"
|
||||
CONAN_HOME=$(CONAN_CACHE) conan install . --output-folder=build/$@ --profile=cmake/profiles/$@ --build=missing
|
||||
cmake -S . -B build/$@ -DCMAKE_TOOLCHAIN_FILE=build/$@/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build/$@ --config=Release --parallel=2
|
||||
cmake --build build/$@ --config=Release --parallel=20
|
||||
|
||||
help:
|
||||
@echo "Available targets:"
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
[settings]
|
||||
os=Android
|
||||
os.api_level=21
|
||||
arch=armv8
|
||||
compiler=clang
|
||||
compiler.version=11
|
||||
compiler.libcxx=c++_static
|
||||
build_type=Release
|
||||
|
||||
[conf]
|
||||
tools.cmake.cmaketoolchain:user_presets=False
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
[settings]
|
||||
os=iOS
|
||||
os.version=15.0
|
||||
arch=armv8
|
||||
compiler=apple-clang
|
||||
compiler.version=13
|
||||
compiler.libcxx=libc++
|
||||
build_type=Release
|
||||
|
||||
[conf]
|
||||
tools.cmake.cmaketoolchain:user_presets=False
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
[settings]
|
||||
os=Windows
|
||||
arch=x86_64
|
||||
compiler=gcc
|
||||
compiler.version=12
|
||||
compiler.libcxx=libstdc++11
|
||||
build_type=Release
|
||||
|
||||
[options]
|
||||
# Example: boost:without_test=True
|
||||
|
||||
[env]
|
||||
CC=x86_64-w64-mingw32-gcc
|
||||
CXX=x86_64-w64-mingw32-g++
|
||||
|
||||
[conf]
|
||||
tools.cmake.cmaketoolchain:user_presets=False
|
||||
Loading…
Add table
Reference in a new issue