23 lines
679 B
YAML
Executable File
23 lines
679 B
YAML
Executable File
name: Verilate
|
|
on: [push]
|
|
jobs:
|
|
verilate:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Update repository
|
|
run: apt update
|
|
- name: Install packages
|
|
run: apt install -y build-essential cmake wget
|
|
- name: Install verilator from pre-built binary
|
|
run: |
|
|
wget -O verilator-aarch64.tar.gz https://git.1159.cl/attachments/d1f82da6-b9d6-4e5d-9785-37801eb4d7b2
|
|
mkdir verilator
|
|
tar xvzf verilator-aarch64.tar.gz -C verilator
|
|
mv verilator/* /usr/bin
|
|
- name: Build
|
|
run: |
|
|
export VERILATOR_ROOT=/usr/bin
|
|
cmake -Bbuild
|