-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (33 loc) · 1.14 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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