Skip to content

neorv32-verilog check #576

neorv32-verilog check

neorv32-verilog check #576

Workflow file for this run

name: 'neorv32-verilog check'
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 5'
workflow_dispatch:
jobs:
Check:
runs-on: ubuntu-latest
steps:
- name: '📂 Repository Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: '📦 Install Icarus Verilog'
run: |
wget https://github.com/stnolting/icarus-verilog-prebuilt/releases/download/v1.0.0/iverilog-27082022.tar.gz
mkdir $GITHUB_WORKSPACE/iverilog-27082022.tmp
tar -xzf iverilog-27082022.tar.gz -C $GITHUB_WORKSPACE/iverilog-27082022.tmp/
echo "$GITHUB_WORKSPACE/iverilog-27082022.tmp/bin" >> $GITHUB_PATH
- name: '📦 Install GHDL'
run: |
wget -q https://github.com/ghdl/ghdl/releases/download/v4.1.0/ghdl-gha-ubuntu-22.04-mcode.tgz
mkdir $GITHUB_WORKSPACE/ghdl
tar -xzf ghdl-gha-ubuntu-22.04-mcode.tgz -C $GITHUB_WORKSPACE/ghdl
echo $GITHUB_WORKSPACE/ghdl/bin >> $GITHUB_PATH
- name: '🚀 Run verification script'
run: /bin/bash -c "chmod u+x $GITHUB_WORKSPACE/.github/check.sh && $GITHUB_WORKSPACE/.github/check.sh"
- name: '📤 Archive generated Verilog code'
if: always()
uses: actions/upload-artifact@v4
with:
name: neorv32_verilog_code
path: src/neorv32_verilog_wrapper.v