mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-09 20:39:29 +00:00
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:
parent
d50fe87801
commit
7d0d1dc382
2 changed files with 6 additions and 8 deletions
|
@ -28,8 +28,6 @@ runs:
|
|||
sudo apt remove -y "*apache2*" "*nginx*" "*firefox*" "*chromium*" "*chrome*" "*edge*"
|
||||
sudo apt remove -y "*qemu*" "*sql*" "*texinfo*" "*imagemagick*"
|
||||
sudo apt autoremove -y
|
||||
sudo apt update
|
||||
sudo apt install python3 python3-pip -y
|
||||
sudo apt clean
|
||||
docker system prune -a --volumes
|
||||
|
||||
|
@ -41,9 +39,9 @@ runs:
|
|||
- name: Install solc
|
||||
shell: bash
|
||||
run: |
|
||||
pip3 install solc-select==0.2.1
|
||||
solc-select install 0.8.16
|
||||
solc-select use 0.8.16
|
||||
cargo install svm-rs
|
||||
svm install 0.8.16
|
||||
svm use 0.8.16
|
||||
|
||||
- name: Install Rust
|
||||
uses: dtolnay/rust-toolchain@5cb429dd810e16ff67df78472fa81cf760f4d1c0
|
||||
|
|
|
@ -35,9 +35,9 @@ rustup target add wasm32-unknown-unknown --toolchain nightly
|
|||
### Install Solidity
|
||||
|
||||
```
|
||||
sudo pip3 install solc-select
|
||||
solc-select install 0.8.16
|
||||
solc-select use 0.8.16
|
||||
cargo install svm-rs
|
||||
svm install 0.8.16
|
||||
svm use 0.8.16
|
||||
```
|
||||
|
||||
### Install Solidity Compiler Version Manager
|
||||
|
|
Loading…
Reference in a new issue