-
Notifications
You must be signed in to change notification settings - Fork 11
70 lines (65 loc) · 1.89 KB
/
regression.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: Regression
on:
push:
pull_request:
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Update pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: sudo apt-get install g++-7 libgmp-dev libmpfr-dev libmpc-dev iverilog
- name: Run regression test
run: source regress.sh
env:
CC: gcc-7
CXX: g++-7
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
mac:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Update pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: |
brew install icarus-verilog coreutils
- name: Run regression test
run: source regress.sh
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# Windows testing doesn't look like it's going to work, at least for now, because
# some of the packages used by fault don't support Windows.
# windows:
# runs-on: windows-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Set up Python 3.7
# uses: actions/setup-python@v2
# with:
# python-version: 3.7
# - name: Install dependencies
# run: |
# curl -L https://github.com/sgherbst/anasymod/releases/download/bogus/iverilog-v11-20201123-x64.tar.gz > iverilog-v11-20201123-x64.tar.gz
# tar xzvf iverilog-v11-20201123-x64.tar.gz
# echo `realpath iverilog/bin` >> $GITHUB_PATH
# shell: bash
# - name: Run regression test
# run: |
# source regress.sh
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
# shell: bash