-
Notifications
You must be signed in to change notification settings - Fork 18
84 lines (73 loc) · 2.12 KB
/
Test_NVC.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
74
75
76
77
78
79
80
81
82
83
84
name: OsvvmRegressionOnNVC
# TODO enable other events and/or schedule as required
on:
push:
pull_request:
workflow_dispatch:
jobs:
win:
name: Test (Windows, MSYS2-MinGW64, NVC)
runs-on: windows-2019
defaults:
run:
shell: msys2 {0}
steps:
- name: '🧰 Checkout'
uses: actions/checkout@v4
with:
path: OsvvmLibraries
submodules: recursive
- name: 'Setup MSYS2-MinGW64'
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
install: git
pacboy: tcl:p tcllib:p make:p python3:p
- name: 'Install NVC'
run: |
: # temporary
wget https://github.com/nickg/nvc/releases/download/r1.13.0/mingw-w64-x86_64-nvc-1.13.0.git20240713.016164d9-1-any.pkg.tar.zst
pacman -U --noconfirm *.zst
: # TODO install from offical MSYS2 package when available
: # pacman -S --noconfirm mingw-w64-x86_64-nvc
- name: 'Run tests'
run: tclsh ./OsvvmLibraries/.github/test.tcl NVC
- name: 'Upload results'
uses: actions/upload-artifact@v4
with:
include-hidden-files: true
name: log-msys2-nvc-MINGW64
path: |
*.log
*.yml
*.html
*.xml
logs/**/*.*
reports/*.css
reports/osvvm.png
reports/*.html
reports/**/*.html
if-no-files-found: error
publish-test-results:
if: always()
needs: [win]
runs-on: ubuntu-latest
name: 📊 Publish Unit Tests Results
steps:
- name: ⏬ Checkout repository
uses: actions/checkout@v4
- name: '📥 Download artifact: package'
uses: actions/download-artifact@v4
with:
path: artifacts
pattern: log-*
- run: ls artifacts
- name: 📊 Publish Unit Test Results
uses: dorny/test-reporter@v1
with:
name: OSVVM VC Regression Results
path: artifacts/**/*.xml
reporter: java-junit
list-suites: all
list-tests: failed