mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix missing tlbc in MacOS builds (#542)
* fix missing tlbc in MacOS builds * fix missing tlbc in MacOS builds
This commit is contained in:
parent
033c66e611
commit
adfa724583
2 changed files with 92 additions and 90 deletions
91
.github/workflows/macos-11.7-compile.yml
vendored
91
.github/workflows/macos-11.7-compile.yml
vendored
|
@ -8,51 +8,52 @@ jobs:
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
- name: Compile OpenSSL
|
- name: Compile OpenSSL
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/openssl/openssl openssl_1_1_1
|
git clone https://github.com/openssl/openssl openssl_1_1_1
|
||||||
cd openssl_1_1_1
|
cd openssl_1_1_1
|
||||||
git checkout OpenSSL_1_1_1-stable
|
git checkout OpenSSL_1_1_1-stable
|
||||||
./Configure --prefix=/usr/local/macos darwin64-x86_64-cc -static -mmacosx-version-min=11.7
|
./Configure --prefix=/usr/local/macos darwin64-x86_64-cc -static -mmacosx-version-min=11.7
|
||||||
make build_libs -j4
|
make build_libs -j4
|
||||||
|
|
||||||
- name: Build all
|
- name: Build all
|
||||||
run: |
|
run: |
|
||||||
export NONINTERACTIVE=1
|
export NONINTERACTIVE=1
|
||||||
brew install ninja
|
brew install ninja
|
||||||
rootPath=`pwd`
|
rootPath=`pwd`
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -GNinja -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$rootPath/openssl_1_1_1/include -DOPENSSL_CRYPTO_LIBRARY=$rootPath/openssl_1_1_1/libcrypto.a -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=11.7 -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_BUILD_TYPE=Release ..
|
cmake -GNinja -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$rootPath/openssl_1_1_1/include -DOPENSSL_CRYPTO_LIBRARY=$rootPath/openssl_1_1_1/libcrypto.a -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=11.7 -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_BUILD_TYPE=Release ..
|
||||||
ninja fift func tonlib tonlibjson tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork
|
ninja fift func tonlib tonlibjson tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc
|
||||||
|
|
||||||
- name: Find & copy binaries
|
- name: Find & copy binaries
|
||||||
run: |
|
run: |
|
||||||
mkdir artifacts
|
mkdir artifacts
|
||||||
cp build/crypto/fift artifacts/
|
cp build/crypto/fift artifacts/
|
||||||
cp build/crypto/func artifacts/
|
cp build/crypto/func artifacts/
|
||||||
cp build/crypto/create-state artifacts/
|
cp build/crypto/create-state artifacts/
|
||||||
cp build/validator-engine-console/validator-engine-console artifacts/
|
cp build/crypto/tlbc artifacts/
|
||||||
cp build/tonlib/tonlib-cli artifacts/
|
cp build/validator-engine-console/validator-engine-console artifacts/
|
||||||
cp build/tonlib/libtonlibjson.0.5.dylib artifacts/
|
cp build/tonlib/tonlib-cli artifacts/
|
||||||
cp build/http/http-proxy artifacts/
|
cp build/tonlib/libtonlibjson.0.5.dylib artifacts/
|
||||||
cp build/rldp-http-proxy/rldp-http-proxy artifacts/
|
cp build/http/http-proxy artifacts/
|
||||||
cp build/dht-server/dht-server artifacts/
|
cp build/rldp-http-proxy/rldp-http-proxy artifacts/
|
||||||
cp build/lite-client/lite-client artifacts/
|
cp build/dht-server/dht-server artifacts/
|
||||||
cp build/validator-engine/validator-engine artifacts/
|
cp build/lite-client/lite-client artifacts/
|
||||||
cp build/utils/generate-random-id artifacts/
|
cp build/validator-engine/validator-engine artifacts/
|
||||||
cp build/utils/json2tlo artifacts/
|
cp build/utils/generate-random-id artifacts/
|
||||||
cp build/adnl/adnl-proxy artifacts/
|
cp build/utils/json2tlo artifacts/
|
||||||
rsync -r crypto/smartcont artifacts/
|
cp build/adnl/adnl-proxy artifacts/
|
||||||
rsync -r crypto/fift/lib artifacts/
|
rsync -r crypto/smartcont artifacts/
|
||||||
ls -laRt artifacts
|
rsync -r crypto/fift/lib artifacts/
|
||||||
|
ls -laRt artifacts
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@master
|
uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
name: ton-macos-11.7
|
name: ton-macos-11.7
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
91
.github/workflows/macos-12.6-compile.yml
vendored
91
.github/workflows/macos-12.6-compile.yml
vendored
|
@ -8,51 +8,52 @@ jobs:
|
||||||
runs-on: macos-12
|
runs-on: macos-12
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: 'recursive'
|
submodules: 'recursive'
|
||||||
- name: Compile OpenSSL
|
- name: Compile OpenSSL
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/openssl/openssl openssl_1_1_1
|
git clone https://github.com/openssl/openssl openssl_1_1_1
|
||||||
cd openssl_1_1_1
|
cd openssl_1_1_1
|
||||||
git checkout OpenSSL_1_1_1-stable
|
git checkout OpenSSL_1_1_1-stable
|
||||||
./Configure --prefix=/usr/local/macos darwin64-x86_64-cc -static -mmacosx-version-min=12.6
|
./Configure --prefix=/usr/local/macos darwin64-x86_64-cc -static -mmacosx-version-min=12.6
|
||||||
make build_libs -j4
|
make build_libs -j4
|
||||||
|
|
||||||
- name: Build all
|
- name: Build all
|
||||||
run: |
|
run: |
|
||||||
export NONINTERACTIVE=1
|
export NONINTERACTIVE=1
|
||||||
brew install ninja
|
brew install ninja
|
||||||
rootPath=`pwd`
|
rootPath=`pwd`
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -GNinja -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$rootPath/openssl_1_1_1/include -DOPENSSL_CRYPTO_LIBRARY=$rootPath/openssl_1_1_1/libcrypto.a -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=12.6 -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_BUILD_TYPE=Release ..
|
cmake -GNinja -DOPENSSL_FOUND=1 -DOPENSSL_INCLUDE_DIR=$rootPath/openssl_1_1_1/include -DOPENSSL_CRYPTO_LIBRARY=$rootPath/openssl_1_1_1/libcrypto.a -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=12.6 -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_BUILD_TYPE=Release ..
|
||||||
ninja fift func tonlib tonlibjson tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork
|
ninja fift func tonlib tonlibjson tonlib-cli validator-engine lite-client pow-miner validator-engine-console generate-random-id json2tlo dht-server http-proxy rldp-http-proxy adnl-proxy create-state create-hardfork tlbc
|
||||||
|
|
||||||
- name: Find & copy binaries
|
- name: Find & copy binaries
|
||||||
run: |
|
run: |
|
||||||
mkdir artifacts
|
mkdir artifacts
|
||||||
cp build/crypto/fift artifacts/
|
cp build/crypto/fift artifacts/
|
||||||
cp build/crypto/func artifacts/
|
cp build/crypto/func artifacts/
|
||||||
cp build/crypto/create-state artifacts/
|
cp build/crypto/create-state artifacts/
|
||||||
cp build/validator-engine-console/validator-engine-console artifacts/
|
cp build/crypto/tlbc artifacts/
|
||||||
cp build/tonlib/tonlib-cli artifacts/
|
cp build/validator-engine-console/validator-engine-console artifacts/
|
||||||
cp build/tonlib/libtonlibjson.0.5.dylib artifacts/
|
cp build/tonlib/tonlib-cli artifacts/
|
||||||
cp build/http/http-proxy artifacts/
|
cp build/tonlib/libtonlibjson.0.5.dylib artifacts/
|
||||||
cp build/rldp-http-proxy/rldp-http-proxy artifacts/
|
cp build/http/http-proxy artifacts/
|
||||||
cp build/dht-server/dht-server artifacts/
|
cp build/rldp-http-proxy/rldp-http-proxy artifacts/
|
||||||
cp build/lite-client/lite-client artifacts/
|
cp build/dht-server/dht-server artifacts/
|
||||||
cp build/validator-engine/validator-engine artifacts/
|
cp build/lite-client/lite-client artifacts/
|
||||||
cp build/utils/generate-random-id artifacts/
|
cp build/validator-engine/validator-engine artifacts/
|
||||||
cp build/utils/json2tlo artifacts/
|
cp build/utils/generate-random-id artifacts/
|
||||||
cp build/adnl/adnl-proxy artifacts/
|
cp build/utils/json2tlo artifacts/
|
||||||
rsync -r crypto/smartcont artifacts/
|
cp build/adnl/adnl-proxy artifacts/
|
||||||
rsync -r crypto/fift/lib artifacts/
|
rsync -r crypto/smartcont artifacts/
|
||||||
ls -laRt artifacts
|
rsync -r crypto/fift/lib artifacts/
|
||||||
|
ls -laRt artifacts
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@master
|
uses: actions/upload-artifact@master
|
||||||
with:
|
with:
|
||||||
name: ton-macos-12.6
|
name: ton-macos-12.6
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue