@@ -17,20 +17,21 @@ jobs:
17
17
fail-fast : false
18
18
matrix :
19
19
include :
20
- - { simulator: 'nvc', backend: '', version: 'latest' }
21
- - { simulator: 'ghdl', backend: 'mcode', version: 'latest' }
22
- - { simulator: 'ghdl', backend: 'llvm', version: 'latest' }
20
+ - { simulator: 'nvc', backend: '', version: 'latest', can-fail: true }
21
+ - { simulator: 'ghdl', backend: 'mcode', version: 'latest', can-fail: false }
22
+ - { simulator: 'ghdl', backend: 'llvm', version: 'latest', can-fail: false }
23
23
with :
24
- simulator : ${{ matrix.simulator }}
25
- ghdl-version : ${{ matrix.version }}
26
- ghdl-backend : ${{ matrix.backend }}
27
- nvc-version : ${{ matrix.version }}
24
+ simulator : ${{ matrix.simulator }}
25
+ ghdl-version : ${{ matrix.version }}
26
+ ghdl-backend : ${{ matrix.backend }}
27
+ nvc-version : ${{ matrix.version }}
28
+ can-fail : ${{ matrix.can-fail }}
28
29
29
30
PublishTestResults :
30
31
uses : pyTooling/Actions/.github/workflows/PublishTestResults.yml@r5
31
32
needs :
32
33
- Simulate
33
- if : success() || failure()
34
+ # if: success() || failure()
34
35
with :
35
36
unittest_artifacts_pattern : ' PoC-Report-XML-*'
36
37
testsuite-summary-name : ' The PoC Library'
48
49
needs :
49
50
- Simulate
50
51
- PublishTestResults
51
- if : success() || failure()
52
+ # if: success() || failure()
52
53
steps :
53
54
- name : 🗑️ Delete YAML artifacts from matrix jobs
54
55
uses : geekyeggo/delete-artifact@v5
70
71
uses : pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@r5
71
72
needs :
72
73
- PublishTestResults
73
- if : success() || failure()
74
+ # if: success() || failure()
74
75
with :
75
76
requirements : ' -r docs/requirements.txt'
76
77
doc_directory : ' docs'
84
85
- Simulate
85
86
- PublishTestResults
86
87
- Documentation
87
- if : success() || failure()
88
+ # if: success() || failure()
88
89
steps :
89
90
- run : |
90
91
printf "Simulate: '%s'\n" "${{ needs.Simulate.result }}"
95
96
uses : pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r5
96
97
needs :
97
98
- Documentation
98
- if : needs.Documentation.result == 'success'
99
+ # if: (success() || failure()) && needs.Documentation.result == 'success'
99
100
with :
100
101
document : ' The-PoC-Library'
101
102
latex_artifact : ' PoC-LaTeX'
@@ -106,7 +107,7 @@ jobs:
106
107
needs :
107
108
- Documentation
108
109
- Simulate
109
- if : needs.Documentation.result == 'success'
110
+ # if: (success() || failure()) && needs.Documentation.result == 'success'
110
111
with :
111
112
doc : ' PoC-HTML'
112
113
# coverage: 'PoC-Coverage-HTML'
@@ -116,7 +117,7 @@ jobs:
116
117
needs :
117
118
- Prepare
118
119
- PublishToGitHubPages
119
- if : needs.Prepare.outputs.is_release_commit && github.event_name != 'schedule'
120
+ if : needs.Prepare.outputs.is_release_commit == 'true' && github.event_name != 'schedule'
120
121
permissions :
121
122
contents : write # required for create tag
122
123
actions : write # required for trigger workflow
0 commit comments