2023-04-02 18:32:52 +00:00
|
|
|
name: Verilate
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
verilate:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
2023-04-02 18:52:45 +00:00
|
|
|
- name: Update repository
|
|
|
|
run: apt update
|
2023-04-03 03:20:07 +00:00
|
|
|
- name: Install packages
|
|
|
|
run: apt install -y build-essential cmake wget
|
|
|
|
- name: Install verilator from pre-built binary
|
|
|
|
run: |
|
2023-04-03 04:14:19 +00:00
|
|
|
wget -O verilator-aarch64.tar.gz https://git.1159.cl/attachments/d1f82da6-b9d6-4e5d-9785-37801eb4d7b2
|
2023-04-03 03:37:15 +00:00
|
|
|
mkdir verilator
|
|
|
|
tar xvzf verilator-aarch64.tar.gz -C verilator
|
2023-04-03 03:24:31 +00:00
|
|
|
mv verilator/* /usr/bin
|
2023-04-02 18:52:45 +00:00
|
|
|
- name: Build
|
2023-04-03 04:32:08 +00:00
|
|
|
run: |
|
|
|
|
export VERILATOR_ROOT=/usr/bin
|
|
|
|
cmake -Bbuild
|