Fix ganache in windows CI (#3105)
## Issue Addressed Hopefully makes windows ganache installation more reliable. ## Proposed Changes - use `chocolatey` to install windows build tools. This seems to often be the prescribed solution for `node gyp` issues. `chocolatey` is used here because `npm install --global --production windows-build-tools` hangs in github actions ## Additional Info I still haven't found why the prior installation technique would sometimes work, the `windows-2019` environments seem to be identical across successes and failures. I think this should be re-run a few times to see if it can consistently pass Co-authored-by: realbigsean <sean@sigmaprime.io>
This commit is contained in:
parent
2aabcaaaed
commit
ec08b0884b
14
.github/workflows/test-suite.yml
vendored
14
.github/workflows/test-suite.yml
vendored
@ -62,16 +62,10 @@ jobs:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Get latest version of stable Rust
|
||||
run: rustup update stable
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
- name: Use Python 2.7
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "2.7"
|
||||
- name: Set node config to use python2.7
|
||||
run: npm config set python %pythonLocation%
|
||||
- name: Set msvs_version to 2019
|
||||
run: npm config set msvs_version 2019 --global
|
||||
- name: Install windows build tools
|
||||
run: |
|
||||
choco install python visualstudio2019-workload-vctools -y
|
||||
npm config set msvs_version 2019
|
||||
- name: Install ganache
|
||||
run: npm install -g ganache
|
||||
- name: Install make
|
||||
|
Loading…
Reference in New Issue
Block a user