22
22
- name : Configure git
23
23
run : git config --global core.symlinks false
24
24
25
- # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26
25
- name : Checkout code
27
26
uses : actions/checkout@v4
28
27
@@ -57,17 +56,17 @@ jobs:
57
56
--enable-hardening \
58
57
--prefix /opt/cobol/gnucobol-gcos \
59
58
59
+ - name : make
60
+ run : |
61
+ make -C _build --jobs=$((${NPROC}+1))
62
+
60
63
- name : Upload config.log
61
64
uses : actions/upload-artifact@v4
62
65
with :
63
66
name : config-${{ matrix.os }}.log
64
67
path : _build/config.log
65
68
if : failure()
66
69
67
- - name : make
68
- run : |
69
- make -C _build --jobs=$((${NPROC}+1))
70
-
71
70
# make install must be done before make check, otherwise
72
71
# execution of generated COBOL files fail for a missing
73
72
# /usr/local/lib/libcob.dylib
89
88
90
89
- name : Upload testsuite.log
91
90
uses : actions/upload-artifact@v4
92
- if : failure()
91
+ if : ${{ ! cancelled() }} # -> always upload as build result documentation
93
92
with :
94
93
name : testsuite-${{ matrix.os }}.log
95
94
path : _build/tests/testsuite.log
@@ -102,7 +101,22 @@ jobs:
102
101
save-always : true
103
102
enableCrossOsArchive : true
104
103
105
- - name : NIST85 Test Suite
104
+ # - name: NIST85 Test Suite
105
+ # run: |
106
+ # make -C _build/tests/cobol85 EXEC85 test \
107
+ # --jobs=$((${NPROC}+1))
108
+
109
+ - name : Run NIST85 testsuite
106
110
run : |
107
- make -C _build/tests/cobol85 EXEC85 test \
108
- --jobs=$((${NPROC}+1))
111
+ make -C _build/tests test --jobs=$((${NPROC}+1))
112
+
113
+ - name : Upload NIST85 Test Suite results
114
+ if : ${{ ! cancelled() }} # -> always upload as build result documentation
115
+ uses : actions/upload-artifact@v4
116
+ with :
117
+ name : NIST85 results on ${{ matrix.os }}
118
+ path : |
119
+ _build/tests/cobol85/summary.*
120
+ _build/tests/cobol85/**/*.log
121
+ _build/tests/cobol85/**/*.out
122
+ _build/tests/cobol85/**/duration.txt
0 commit comments