/tvm-action

Action for TVM can be used for development on TON, Everscale, Gosh, Venom

Primary LanguageDockerfileMIT LicenseMIT

TVM Action

Toolchain

Example usage

Docker

TON lite-client

wget https://ton-blockchain.github.io/global.config.json
docker run -v $(pwd)/global.config.json:/ton-global.config --rm -it ghcr.io/ever-guild/tvm-action lite-client

Fift

echo '4 10 * 2 + .s' | docker run --rm -i ghcr.io/ever-guild/tvm-action fift

Gosh

docker run --rm -v$(pwd):/src -w /src -u 1000 -it ghcr.io/ever-guild/tvm-action
git clone gosh://0:b00a7a5a24740e4a7d6487d31969732f1febcaea412df5cc307400818055ad58/gosh/gosh

GitHub Actions

Fift

name: CI

jobs:
  test:
    runs-on: ubuntu-22.04
    steps:
      - uses: actions/checkout@v3
      - uses: ever-guild/tvm-action@v1
        with:
          args: echo '4 10 * 2 + .s' | fift

Gosh

# .github/workflows/ci.yml
name: CI

jobs:
  test:
    runs-on: ubuntu-22.04
    steps:
      - uses: ever-guild/tvm-action@v1
        with:
          args: git clone gosh://0:b00a7a5a24740e4a7d6487d31969732f1febcaea412df5cc307400818055ad58/gosh/gosh

Build from source

got clone https://github.com/ever-guild/tvm-action.git
cd tvm-action
docker build -t tvm-action .
docker run --rm -it tvm-action bash