-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-emulate-step
* master: (22 commits) Fix the generation of EVM tests (#2426) Disabled EVM events in testcases by default (#2417) added proper timeouts for cvc4 and boolector (#2418) Removed use of global solver from Native Memory (#2414) Support to use boolector as the SMT solver (#2410) Update CI and suggest to use pip3 instead of pip (#2409) Expressions use keyword-only arguments for init (#2395) Use Slots on all Expression objects (#2394) Allow double-adding exact same config option (#2397) Don't run OSX tests on PR Attempt to Fix solc Installation MacOS (#2392) Syscall specific hooks (#2389) TUI Support Infrastructure (#1620) Fix coveralls upload (#2387) docs: fix simple typo, straigth -> straight (#2381) Attempt to allow symbolic balances from the start (#1818) Fix state.cpu.PC member (#1825) Bump black and mypy (#1824) Manticore 0.3.5 (#1808) Fix yices timeout argument (#1817) ...
- Loading branch information
Showing
66 changed files
with
17,386 additions
and
15,610 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 |
---|---|---|
|
@@ -12,7 +12,7 @@ on: | |
jobs: | ||
# needs to run only on pull_request | ||
lint: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.6 | ||
|
@@ -39,7 +39,7 @@ jobs: | |
mypy --version | ||
mypy | ||
tests: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
matrix: | ||
type: ["ethereum_truffle", "ethereum_bench", "examples", "ethereum", "ethereum_vm", "native", "wasm", "wasm_sym", "other"] | ||
|
@@ -57,18 +57,34 @@ jobs: | |
env: | ||
TEST_TYPE: ${{ matrix.type }} | ||
run: | | ||
#install utils | ||
pip install coveralls | ||
pip install -e ".[dev-noks]" | ||
#install cvc4 | ||
sudo wget -O /usr/bin/cvc4 https://github.com/CVC4/CVC4/releases/download/1.7/cvc4-1.7-x86_64-linux-opt | ||
sudo chmod +x /usr/bin/cvc4 | ||
#install yices | ||
sudo add-apt-repository ppa:sri-csl/formal-methods | ||
sudo apt-get update | ||
sudo apt-get install yices2 | ||
#install boolector | ||
mkdir -p /tmp/build | ||
cd /tmp/build | ||
git clone https://github.com/boolector/boolector.git | ||
cd boolector | ||
# Version 3.2.1 | ||
git checkout "f61c0dcf4a76e2f7766a6358bfb9c16ca8217224" | ||
git log -1 --oneline > ../boolector.commit | ||
./contrib/setup-lingeling.sh | ||
./contrib/setup-btor2tools.sh | ||
./configure.sh | ||
cd build | ||
make -j4 | ||
mkdir -p /tmp/boolector | ||
sudo make DESTDIR=/usr install | ||
# Install solc unconditionally because it only takes a second or two | ||
sudo wget -O /usr/bin/solc https://github.com/ethereum/solidity/releases/download/v0.4.24/solc-static-linux | ||
sudo chmod +x /usr/bin/solc | ||
pip install coveralls | ||
pip install -e ".[dev-noks]" | ||
- name: Run Tests | ||
env: | ||
TEST_TYPE: ${{ matrix.type }} | ||
|
@@ -77,22 +93,22 @@ jobs: | |
./run_tests.sh | ||
- name: Coveralls Parallel | ||
run: | | ||
coveralls | ||
coveralls --service=github | ||
env: | ||
COVERALLS_PARALLEL: true | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# Send notification when all tests have finished to combine coverage results | ||
coverage-finish: | ||
needs: tests | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Coveralls Finished | ||
uses: coverallsapp/[email protected].1 | ||
uses: coverallsapp/[email protected].2 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
parallel-finished: true | ||
upload: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
if: github.event_name == 'schedule' | ||
needs: tests | ||
steps: | ||
|
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
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
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
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
Oops, something went wrong.