The template CI tried to re-harden from scratch in GitHub Actions, but cf harden requires a TTY for Docker and the design takes 8+ hours. Replace with a Verilator lint check. Hardening and precheck are run locally on snoke; GDS/SPEF are uploaded via cf push. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
651 B
YAML
29 lines
651 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
rtl-lint:
|
|
timeout-minutes: 30
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Verilator
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y verilator
|
|
|
|
- name: Lint RTL
|
|
run: |
|
|
verilator --lint-only -Wall \
|
|
--top-module ldpc_decoder_top \
|
|
-Wno-UNUSEDSIGNAL -Wno-UNDRIVEN \
|
|
verilog/rtl/ldpc_decoder_top.sv \
|
|
verilog/rtl/ldpc_decoder_core.sv \
|
|
verilog/rtl/wishbone_interface.sv \
|
|
verilog/rtl/hard_decision_out.sv
|