Replace solc-select with svm-rs in CI and docs

svm-rs is already in tree as a library, so we may as well include it as a bin
instead of also pulling in solc-select.
This commit is contained in:
Luke Parker 2023-10-13 05:13:33 -04:00
parent d50fe87801
commit 7d0d1dc382
2 changed files with 6 additions and 8 deletions

View file

@ -28,8 +28,6 @@ runs:
sudo apt remove -y "*apache2*" "*nginx*" "*firefox*" "*chromium*" "*chrome*" "*edge*" sudo apt remove -y "*apache2*" "*nginx*" "*firefox*" "*chromium*" "*chrome*" "*edge*"
sudo apt remove -y "*qemu*" "*sql*" "*texinfo*" "*imagemagick*" sudo apt remove -y "*qemu*" "*sql*" "*texinfo*" "*imagemagick*"
sudo apt autoremove -y sudo apt autoremove -y
sudo apt update
sudo apt install python3 python3-pip -y
sudo apt clean sudo apt clean
docker system prune -a --volumes docker system prune -a --volumes
@ -41,9 +39,9 @@ runs:
- name: Install solc - name: Install solc
shell: bash shell: bash
run: | run: |
pip3 install solc-select==0.2.1 cargo install svm-rs
solc-select install 0.8.16 svm install 0.8.16
solc-select use 0.8.16 svm use 0.8.16
- name: Install Rust - name: Install Rust
uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0 uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0

View file

@ -35,9 +35,9 @@ rustup target add wasm32-unknown-unknown --toolchain nightly
### Install Solidity ### Install Solidity
``` ```
sudo pip3 install solc-select cargo install svm-rs
solc-select install 0.8.16 svm install 0.8.16
solc-select use 0.8.16 svm use 0.8.16
``` ```
### Install Solidity Compiler Version Manager ### Install Solidity Compiler Version Manager