-
-
Notifications
You must be signed in to change notification settings - Fork 83
73 lines (71 loc) · 1.93 KB
/
test-osvvm.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Test OSVVM on Windows
on:
workflow_dispatch:
schedule:
- cron: '30 21 * * 0'
jobs:
test-osvvm:
name: Test OSVVM
runs-on: windows-2022
steps:
- uses: nickg/setup-nvc-ci@v1
with:
version: latest
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/checkout@v4
with:
repository: OSVVM/OsvvmLibraries
path: OsvvmLibraries
ref: dev
submodules: recursive
fetch-depth: 1
- uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
install: >-
mingw-w64-x86_64-tcllib
# - name: Test OSVVM
# shell: powershell
# run: |
# $Env:OSVVM_DIR = $(Resolve-Path -Path OsvvmLibraries)
# echo $Env:OSVVM_DIR
# $Env:OSVVM_MUST_BUILD = 1
# nvc.exe --do .\test\test-osvvm.tcl
- name: Test OSVVM
shell: msys2 {0}
run: |
export PATH=/c/Program\ Files/NVC/bin:$PATH
export OSVVM_DIR=$(realpath OsvvmLibraries)
export OSVVM_MUST_BUILD=1
find $OSVVM_DIR -name VendorScripts_NVC.tcl -exec \
sed -i '/puts $SimulateMessage/d' \{} \;
tclsh ./test/test-osvvm.tcl
- name: Publish results
uses: dorny/test-reporter@v1
with:
name: OSVVM Regression Results
path: ./*.xml
reporter: java-junit
list-suites: all
list-tests: failed
fail-on-error: true
fail-on-empty: true
- name: Upload logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: osvvm-logs
path: |
*.log
*.yml
*.html
*.xml
reports/*.html
reports/**/*.html
logs/**/*.*
reports/*.css
reports/osvvm.png
if-no-files-found: error