Skip to content

feat: add data section check when limiting Wasm heap memory #315

feat: add data section check when limiting Wasm heap memory

feat: add data section check when limiting Wasm heap memory #315

Workflow file for this run

name: Wasm
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
env:
DFX_VERSION: 0.22.0
IC_REPL_VERSION: 0.7.4
steps:
- uses: actions/checkout@v2
- name: Install dfx
uses: dfinity/setup-dfx@main
with:
dfx-version: "${{ env.DFX_VERSION }}"
- name: Install dependencies
run: |
wget https://github.com/chenyan2002/ic-repl/releases/download/$IC_REPL_VERSION/ic-repl-linux64
cp ./ic-repl-linux64 /usr/local/bin/ic-repl
chmod a+x /usr/local/bin/ic-repl
- name: Start replica
run: |
echo "{}" > dfx.json
dfx cache install
dfx start --background
- name: Test
run: |
ic-repl tests/deployable.ic-repl.sh
- name: stop dfx
run: |
echo "dfx stop"
dfx stop