-
Notifications
You must be signed in to change notification settings - Fork 3
83 lines (70 loc) · 2.37 KB
/
tests.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
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Run Tests
on:
push:
jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
DEBIAN_FRONTEND: "noninteractive"
steps:
- name: Install dependencies
run: |
sudo apt -qqy update
sudo apt -qqy --no-install-recommends install help2man libfl-dev make g++ git bison flex gperf \
libreadline-dev libbz2-dev autoconf python3-sphinx \
python3-docopt
- name: Setup repository
uses: actions/checkout@v4
- name: Get Submodules
run: |
git submodule update --init --recursive
- name: Install Pyenv
run: |
./install.sh
- name: Build Icarus
run: |
git clone https://github.com/steveicarus/iverilog.git
cd iverilog
git checkout 06077ed026b4d8498d9129a6acfb0b44d0b51f18
sh autoconf.sh
./configure
make -j$(nproc)
sudo make install
iverilog -V
- name: Build Verilator
run: |
git clone https://github.com/verilator/verilator -b v5.024
cd verilator
autoconf
./configure
make -j$(nproc)
sudo make install
verilator --version
- name: Run Tests
run: |
make install-uvm
source activate.sh
make tests
another_tests:
name: Another
runs-on: [ self-hosted, Linux, X64, gcp-custom-runners ]
container: centos:8
env:
GHA_EXTERNAL_DISK: additional-tools
steps:
- name: Install dependencies
run: |
sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
yum update -y
yum install -y git tar wget libnsl bc time make gcc gcc-c++ perl python3 python3-pip zlib-devel \
openssl-devel xz-devel sqlite-devel libffi-devel ncurses-devel bzip2-devel readline-devel libstdc++ libstdc++-devel libstdc++-static libstdc++-static-devel
- name: Setup repository
uses: actions/checkout@v4
- name: Get Submodules
run: git submodule update --init --recursive
- name: Install Pyenv
run: ./install.sh
- name: Run Tests
run: _secret_run_i3c_tests