Merge pull request #123 from stnolting/dependabot/submodules/neorv32-… #520
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: neorv32_verilog_code | |
path: src/neorv32_verilog_wrapper.v |