Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moc inline with new meter alloc #85

Closed
wants to merge 11 commits into from
9 changes: 6 additions & 3 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
env:
DFX_VERSION: 0.14.4
IC_REPL_VERSION: 0.4.1
MOC_ARTIFACT: 927804830
MOC_VERSION: 0.10.0
IC_WASM_VERSION: 0.4.0
steps:
Expand Down Expand Up @@ -58,9 +59,7 @@ jobs:
- name: Install ic-repl, mops, dfx, and moc
run: |
echo y | DFX_VERSION=$DFX_VERSION bash -ci "$(curl -fsSL https://smartcontracts.org/install.sh)"
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
cargo install --git https://github.com/dfinity/ic-repl.git --branch new-meter
npm i -g ic-mops
dfx cache install
cd $(dfx cache show)
Expand All @@ -80,6 +79,10 @@ jobs:
cd main
make
dfx stop
wget https://nightly.link/dfinity/motoko/actions/artifacts/$MOC_ARTIFACT.zip
unzip $MOC_ARTIFACT.zip
chmod a+x bin/moc
cp -rf bin/moc $(dfx cache show)
dfx start --clean --background
- name: Run perf
run: make
Expand Down