diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 46bb1434..ef5916d0 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -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: @@ -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) @@ -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