mirror of
https://github.com/trailofbits/manticore.git
synced 2026-10-12 02:23:44 +00:00
* Add version info to installations * Let's try a newer version? * Use fixed yices release * Really? No relative path support? * Can't handle newer C compilers Ugh we should really do something about that * Let's try 3.8 * Back to 3.7 3.6 is EOL soon, so we can justify jumping up to a more recent version, but 3.8 might still be too new for some people. * Find & Replace 3.6 -> 3.7 * Bump setup-python version * Fix additional 3.6 usage
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: MacOS Tests
|
|
|
|
on:
|
|
schedule:
|
|
# Run every day at 11 PM.
|
|
- cron: '0 23 * * *'
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: macos-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
type: ["ethereum_truffle", "ethereum_bench", "ethereum", "ethereum_vm", "wasm", "wasm_sym", "other"]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python 3.7
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: 3.7
|
|
- name: Install NPM
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '13.x'
|
|
- name: Install dependencies
|
|
env:
|
|
TEST_TYPE: ${{ matrix.type }}
|
|
run: |
|
|
EXTRAS="dev-noks"
|
|
pip install -e .[$EXTRAS]
|
|
- name: Install Mac Dependencies
|
|
run: |
|
|
brew install bash
|
|
brew install wabt
|
|
brew install SRI-CSL/sri-csl/yices2
|
|
brew tap cvc4/cvc4
|
|
brew install cvc4/cvc4/cvc4
|
|
pip install solc-select
|
|
solc-select install 0.4.26
|
|
solc-select use 0.4.26
|
|
- name: Run Tests
|
|
env:
|
|
TEST_TYPE: ${{ matrix.type }}
|
|
run: |
|
|
cp scripts/run_tests.sh .
|
|
./run_tests.sh
|