Do not count gas on special accounts in block gas limits (enabled by … #169
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "TON x86_64 macOS binaries" | |
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: Compile | |
run: nix build .?submodules=1#packages.x86_64-darwin.ton-staticbin-dylib --print-build-logs -o result-x86_64-darwin | |
- name: Copy binaries | |
run: | | |
ls -lart | |
mkdir artifacts | |
cp $PWD/result-x86_64-darwin/bin/* artifacts/ | |
chmod +x artifacts/* | |
cp $PWD/result-x86_64-darwin/lib/libtonlibjson.dylib artifacts/ | |
cp $PWD/result-x86_64-darwin/lib/libemulator.dylib artifacts/ | |
cp -R crypto/smartcont artifacts/ | |
cp -R crypto/fift/lib artifacts/ | |
- 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 | |
- name: Upload artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: ton-x86_64-macos-binaries | |
path: artifacts |