Skip to content

Crowdfunding esdt blackbox tests migration #164

Crowdfunding esdt blackbox tests migration

Crowdfunding esdt blackbox tests migration #164

name: CI
on:
push:
branches:
- master
pull_request:
permissions:
checks: write
pull-requests: write
jobs:
template_test_released:
name: Template tool test - released templates
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
default: true
toolchain: nightly-2023-08-08
target: wasm32-unknown-unknown
- name: Setup the PATH variable
run: |
echo "PATH=$HOME/.local/bin:$HOME/multiversx-sdk/vmtools:$PATH" >> $GITHUB_ENV
- name: Install prerequisites
run: |
pip3 install multiversx-sdk-cli==v6.0.0
mkdir $HOME/multiversx-sdk
python3 -m multiversx_sdk_cli.cli deps install vmtools --tag v1.4.60
wget -O binaryen.tar.gz https://github.com/WebAssembly/binaryen/releases/download/version_112/binaryen-version_112-x86_64-linux.tar.gz
tar -xf binaryen.tar.gz
cp binaryen-version_112/bin/wasm-opt $HOME/.local/bin
sudo apt install -y wabt=1.0.27-1
which wasm-opt
which wasm2wat
which run-scenarios
- name: Install libtinfo5
if: inputs.install-libtinfo5
run: |
sudo apt update
sudo apt install -y libtinfo5
- name: Run template tool test
run: |
cd framework/meta
cargo test --features template-test-released