20 lines
570 B
YAML
20 lines
570 B
YAML
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 https://git.1159.cl/attachments/3bee5174-4c41-476f-8874-a35ffba0f512
|
|
tar xzvf verilator-aarch64.tar.gz -C verilator
|
|
mv verilator /usr/bin
|
|
- name: Build
|
|
run: cmake -Bbuild
|