Fix Anvil compilation on Windows (#4381)

## Issue Addressed

Workaround for https://github.com/foundry-rs/foundry/issues/5115.

## Proposed Changes

Allow Anvil to be installed on Windows without errors by enabling the IPC features (which we don't use, but Anvil expects to exist).
This commit is contained in:
Michael Sproul 2023-06-07 01:50:36 +00:00
parent 186d0af873
commit f167951835

View File

@ -79,7 +79,8 @@ jobs:
choco install python protoc visualstudio2019-workload-vctools -y choco install python protoc visualstudio2019-workload-vctools -y
npm config set msvs_version 2019 npm config set msvs_version 2019
- name: Install anvil - name: Install anvil
run: cargo install --git https://github.com/foundry-rs/foundry --locked anvil # Extra feature to work around https://github.com/foundry-rs/foundry/issues/5115
run: cargo install --git https://github.com/foundry-rs/foundry --locked anvil --features ethers/ipc
- name: Install make - name: Install make
run: choco install -y make run: choco install -y make
- uses: KyleMayes/install-llvm-action@v1 - uses: KyleMayes/install-llvm-action@v1