mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-22 04:28:02 +00:00
Update resolc in ci to use a path (#233)
This commit is contained in:
@@ -18,8 +18,8 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: "main"
|
default: "main"
|
||||||
type: string
|
type: string
|
||||||
resolc-download-url:
|
resolc-path:
|
||||||
description: "The URL to use to download the resolc compiler."
|
description: "The path of the resolc compiler."
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
use-compilation-caches:
|
use-compilation-caches:
|
||||||
@@ -59,13 +59,6 @@ runs:
|
|||||||
ref: ${{ inputs['revive-differential-tests-ref'] }}
|
ref: ${{ inputs['revive-differential-tests-ref'] }}
|
||||||
path: revive-differential-tests
|
path: revive-differential-tests
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Installing the Latest Resolc
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
ASSET_URL="${{ inputs['resolc-download-url'] }}"
|
|
||||||
curl -Lsf --show-error -o resolc "$ASSET_URL"
|
|
||||||
chmod +x resolc
|
|
||||||
./resolc --version
|
|
||||||
- name: Installing Retester
|
- name: Installing Retester
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ${{ inputs['cargo-command'] }} install --locked --path revive-differential-tests/crates/core
|
run: ${{ inputs['cargo-command'] }} install --locked --path revive-differential-tests/crates/core
|
||||||
@@ -120,7 +113,7 @@ runs:
|
|||||||
--revive-dev-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/revive-dev-node \
|
--revive-dev-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/revive-dev-node \
|
||||||
--eth-rpc.path ${{ inputs['polkadot-sdk-path'] }}/target/release/eth-rpc \
|
--eth-rpc.path ${{ inputs['polkadot-sdk-path'] }}/target/release/eth-rpc \
|
||||||
--polkadot-omni-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/polkadot-omni-node \
|
--polkadot-omni-node.path ${{ inputs['polkadot-sdk-path'] }}/target/release/polkadot-omni-node \
|
||||||
--resolc.path ./resolc \
|
--resolc.path ${{ inputs['resolc-path'] }} \
|
||||||
--resolc.heap-size 500000 \
|
--resolc.heap-size 500000 \
|
||||||
"${OMNI_ARGS[@]}" || true
|
"${OMNI_ARGS[@]}" || true
|
||||||
- name: Generate the expectation file
|
- name: Generate the expectation file
|
||||||
|
|||||||
Reference in New Issue
Block a user