mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
The Tolk Language will be positioned as "next-generation FunC". It's literally a fork of a FunC compiler, introducing familiar syntax similar to TypeScript, but leaving all low-level optimizations untouched. Note, that FunC sources are partially stored in the parser/ folder (shared with TL/B). In Tolk, nothing is shared. Everything from parser/ is copied into tolk/ folder.
38 lines
892 B
YAML
38 lines
892 B
YAML
name: MacOS TON build (portable, x86-64)
|
|
|
|
on: [push,workflow_dispatch,workflow_call]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-12
|
|
|
|
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: |
|
|
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-x86_64-macos-binaries
|
|
path: artifacts
|