1
0
Fork 0
forked from lthn/blockchain

macos builds

This commit is contained in:
Snider 2024-03-22 00:39:51 +00:00
parent cc18d11a28
commit d5f984a75f
3 changed files with 29 additions and 11 deletions

View file

@ -21,11 +21,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
os: [ ubuntu-latest, macos-13, macos-14 ]
include:
- os: ubuntu-latest
target: linux-amd64
net: testnet
- os: macos-13
target: macos-amd64
net: testnet
- os: macos-14
target: macos-arm64
net: testnet
env:
CCACHE_TEMPDIR: ${{ github.workspace }}/ccache
CONAN_HOME: "${{ github.workspace }}/build/"

View file

@ -60,21 +60,33 @@ static-release-testnet: ## Build testnet release static binaries
#
# CI
#
ci-linux-amd64-release: static-release ## Build lethean-linux-amd64-cli.tar.bz2
ci-package-linux:
@rm -fr lethean && mkdir -p lethean
@cp -r build/release/src/letheand lethean/letheand
@cp -r build/release/src/lethean-cli-wallet lethean/lethean-cli-wallet
@chmod +x lethean/lethean*
@tar -cjvf lethean-linux-amd64-cli.tar.bz2 lethean/
@rm -rf lethean
ci-linux-amd64-testnet: static-release-testnet ## Build testnet-lethean-linux-amd64-cli.tar.bz2
@rm -fr lethean && mkdir -p lethean
@cp -r build/release/src/letheand lethean/letheand-testnet
@cp -r build/release/src/lethean-cli-wallet lethean/lethean-cli-wallet-testnet
@chmod +x lethean/lethean*
ci-linux-amd64-release: static-release ci-package-linux ## Build lethean-linux-amd64-cli.tar.bz2
@tar -cjvf lethean-linux-amd64-cli.tar.bz2 lethean/
ci-linux-amd64-release: static-release ci-package-linux ## Build lethean-linux-amd64-cli.tar.bz2
@tar -cjvf lethean-linux-amd64-cli.tar.bz2 lethean/
ci-macos-amd64-release: static-release ci-package-linux ## Build lethean-macos-amd64-cli.tar.bz2
@tar -cjvf lethean-macos-amd64-cli.tar.bz2 lethean/
ci-macos-arm64-release: static-release ci-package-linux ## Build lethean-macos-arm64-cli.tar.bz2
@tar -cjvf lethean-macos-arm64-cli.tar.bz2 lethean/
ci-linux-amd64-testnet: static-release-testnet ci-package-linux ## Build testnet-lethean-linux-amd64-cli.tar.bz2
@tar -cjvf testnet-lethean-linux-amd64-cli.tar.bz2 lethean/
@rm -rf lethean
ci-macos-amd64-testnet: static-release-testnet ci-package-linux ## Build testnet-lethean-macos-amd64-cli.tar.bz2
@tar -cjvf testnet-lethean-macos-amd64-cli.tar.bz2 lethean/
ci-macos-arm64-testnet: static-release-testnet ci-package-linux ## Build testnet-lethean-macos-arm64-cli.tar.bz2
@tar -cjvf testnet-lethean-macos-arm64-cli.tar.bz2 lethean/
conan:
@conan config install contrib/cmake/settings_user.yml

View file

@ -2,4 +2,4 @@ compiler:
gcc:
version: ["11.4.0"]
apple-clang:
version: ["15.0.0.15000040"]
version: ["15.0.0.15000040", "15.0.0.15000309"]