-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from crytic/fix/old-linux-versions
Support for older solc versions with Linux
- Loading branch information
Showing
4 changed files
with
116 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
name: Install Mac OS solc-select | ||
|
||
defaults: | ||
run: | ||
# To load bashrc | ||
shell: bash -ieo pipefail {0} | ||
|
||
on: | ||
pull_request: | ||
branches: [master, dev] | ||
schedule: | ||
# run CI every day even if no PRs/merges occur | ||
- cron: '0 12 * * *' | ||
|
||
jobs: | ||
build: | ||
name: Install test | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Install all solc versions | ||
run: | | ||
python3 setup.py develop | ||
solc-select install all | ||
- name: Test minimum release | ||
run: | | ||
solc-select use 0.3.6 | ||
- name: Test 0.8.0 | ||
run: | | ||
solc-select use 0.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
name: Install Linux solc-select | ||
|
||
defaults: | ||
run: | ||
# To load bashrc | ||
shell: bash -ieo pipefail {0} | ||
|
||
on: | ||
pull_request: | ||
branches: [master, dev] | ||
schedule: | ||
# run CI every day even if no PRs/merges occur | ||
- cron: '0 12 * * *' | ||
|
||
|
||
jobs: | ||
build: | ||
name: Install Ubuntu test | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python 3.6 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.6 | ||
|
||
- name: Install all solc versions | ||
run: | | ||
sudo python3 setup.py develop | ||
solc-select install all | ||
solc-select install all | ||
- name: Test minimum release | ||
run: | | ||
solc-select use 0.4.0 | ||
- name: Test 0.8.0 | ||
run: | | ||
solc-select use 0.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters