mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-28 16:37:59 +00:00
4a9b651235
No observable changes w.r.t. YUL compilation. - Mark solc v0.8.29 as the latest supported version - Add integration test for solc v0.8.29 specific feature - Use the latest version on CI - Drive-by fix linter complaints and a two types in the CI yaml files --------- Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com> Signed-off-by: xermicus <cyrill@parity.io>
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
name: "Install Solidity Compiler"
|
|
description: "Installs the Ethereum solc Solidity compiler frontend executable"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Figure out Solc Download URL
|
|
shell: bash
|
|
run: |
|
|
if [[ "${{ runner.os }}" == "Linux" ]]; then
|
|
echo "SOLC_NAME=solc-static-linux" >> $GITHUB_ENV
|
|
elif [[ "${{ runner.os }}" == "Windows" ]]; then
|
|
echo "SOLC_NAME=solc-windows.exe" >> $GITHUB_ENV
|
|
else
|
|
echo "SOLC_NAME=solc-macos" >> $GITHUB_ENV
|
|
fi
|
|
|
|
- name: Download Solc
|
|
shell: bash
|
|
run: |
|
|
mkdir -p solc
|
|
curl -sSL --output solc/solc https://github.com/ethereum/solidity/releases/download/v0.8.29/${SOLC_NAME}
|
|
|
|
- name: Make Solc Executable
|
|
if: ${{ runner.os == 'Windows' }}
|
|
shell: bash
|
|
run: |
|
|
echo "$(pwd -W)\\solc" >> $GITHUB_PATH
|
|
mv solc/solc solc/solc.exe
|
|
|
|
- name: Make Solc Executable
|
|
if: ${{ runner.os != 'Windows' }}
|
|
shell: bash
|
|
run: |
|
|
echo "$(pwd)/solc" >> $GITHUB_PATH
|
|
chmod +x solc/solc
|