use 64bit API for stable memory (#76) #332
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: Wasm | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
DFX_VERSION: 0.23.0 | |
IC_REPL_VERSION: 0.7.5 | |
steps: | |
- uses: actions/checkout@v4 | |
- 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 -v | |
- name: stop dfx | |
run: | | |
echo "dfx stop" | |
dfx stop |