-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tomasz Gorochowik <[email protected]>
- Loading branch information
1 parent
f8118c1
commit ee1594d
Showing
1 changed file
with
38 additions
and
0 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,38 @@ | ||
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 | ||
- name: Setup repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Install Pyenv | ||
run: | | ||
./install.sh | ||
- name: Build Verilator | ||
run: | | ||
git clone https://github.com/verilator/verilator -b v5.024 | ||
cd verilator | ||
autoconf | ||
./configure | ||
make -j$(nproc) | ||
make install | ||
verilator --version | ||
- name: Run Tests | ||
run: | | ||
make install-uvm | ||
source activate.sh | ||
make tests |