mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-14 20:22:19 +00:00
* TVM instructions: SECP256K1_XONLY_PUBKEY_TWEAK_ADD, SETCONTCTRMANY(X) * Add tests for xonly_pubkey_tweak_add * added secp256k1 as submodule, since we need extrakeys feature of secp256k1 * cleanup * add ton_crypto_core secp256k1 dependency * adjust Dockerfile, android and wasm builds * adjust nix build * test windows build with SECP256K1_ENABLE_MODULE_EXTRAKEYS * test windows build with SECP256K1_ENABLE_MODULE_EXTRAKEYS * adjust android build * adjust emscripten build * adjust emscripten build * try macos-13 * emscripten build adjustments * windows build adjustments * final corrections --------- Co-authored-by: neodix <neodix@ton.org>
40 lines
958 B
YAML
40 lines
958 B
YAML
name: MacOS TON build (portable, arm64)
|
|
|
|
on: [push,workflow_dispatch,workflow_call]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-14
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- uses: cachix/install-nix-action@v23
|
|
with:
|
|
extra_nix_config: |
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build TON
|
|
run: |
|
|
git submodule sync --recursive
|
|
git submodule update
|
|
cp assembly/nix/build-macos-nix.sh .
|
|
chmod +x build-macos-nix.sh
|
|
./build-macos-nix.sh -t
|
|
|
|
- name: Simple binaries test
|
|
run: |
|
|
sudo mv /nix/store /nix/store2
|
|
artifacts/validator-engine -V
|
|
artifacts/lite-client -V
|
|
artifacts/fift -V
|
|
artifacts/func -V
|
|
artifacts/tolk -v
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@master
|
|
with:
|
|
name: ton-arm64-macos-binaries
|
|
path: artifacts
|