Skip to content

Merge pull request #94 from stnolting/dependabot/submodules/neorv32-a… #394

Merge pull request #94 from stnolting/dependabot/submodules/neorv32-a…

Merge pull request #94 from stnolting/dependabot/submodules/neorv32-a… #394

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-20.04
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/
- name: '⚙️ Update PATH variable'
run: echo "$GITHUB_WORKSPACE/iverilog-27082022.tmp/bin" >> $GITHUB_PATH
- name: '📦 Install GHDL'
uses: ghdl/setup-ghdl-ci@nightly
- 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'
uses: actions/upload-artifact@v4
with:
name: neorv32_verilog_code
path: src/neorv32_verilog_wrapper.v