Skip to content

Commit

Permalink
ci: Compile/Install Verilator from sources (Required for updated Vexr…
Browse files Browse the repository at this point in the history
…iscv-SMP).
  • Loading branch information
enjoy-digital committed Jun 27, 2022
1 parent 4ff8399 commit 2203f79
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup CCache
uses: hendrikmuhs/ccache-action@v1

# Install Tools
- name: Install Tools
run: |
sudo apt-get install wget build-essential python3 ninja-build
sudo apt-get install verilator libevent-dev libjson-c-dev
sudo apt-get install libevent-dev libjson-c-dev flex bison
pip3 install setuptools
pip3 install requests
pip3 install pexpect
Expand All @@ -35,6 +38,17 @@ jobs:
sudo mkdir /usr/local/openrisc
sudo cp -r $PWD/../openrisc-*/* /usr/local/openrisc
# Build / Install Verilator
- name: Build Verilator
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
git clone https://github.com/verilator/verilator
cd verilator
autoconf
./configure
make -j$(nproc)
sudo make install
# Install Project
- name: Install Project
run: python3 setup.py develop --user
Expand Down

0 comments on commit 2203f79

Please sign in to comment.