9
9
10
10
jobs :
11
11
regressionTest :
12
- name : " ${{ matrix.os }} ${{ matrix.make }} CC=${{ matrix.cc }} ${{ matrix.sanitizer }}=yes MKDOC =${{ matrix.docs }}"
12
+ name : " ${{ matrix.os }} ${{ matrix.make }} CC=${{ matrix.cc }} ${{ matrix.sanitizer }}=yes CXREF =${{ matrix.docs }}"
13
13
runs-on : ${{ matrix.os }}
14
14
strategy :
15
15
fail-fast : false
@@ -21,13 +21,15 @@ jobs:
21
21
cc : [ gcc, clang ]
22
22
make : [ bmake, make ]
23
23
sanitizer : [ NO_SANI, USE_ASAN, USE_UBSAN, USE_LEAKSAN ]
24
- docs : [ yes, no ]
24
+ docs : [ cxref, true ]
25
25
# XXX this isn't the ideal way to handle a binary option?
26
26
parallel : [ '-j 3', '' ]
27
27
exclude :
28
28
#
29
29
# N.B.: here we _EXCLUDE_ the matrix options we don't want!
30
30
#
31
+ # xxx Travis has "include:", does it work here?
32
+ #
31
33
# MacOS-11.x
32
34
- os : macos-11
33
35
# it's clang anyway
36
38
# make is gmake
37
39
make : make
38
40
- os : macos-11
39
- docs : yes
41
+ docs : cxref
40
42
- os : macos-11
41
43
parallel : ' '
42
44
#
48
50
# make is gmake
49
51
make : make
50
52
- os : macos-12
51
- docs : yes
53
+ docs : cxref
52
54
- os : macos-12
53
55
parallel : ' '
54
56
#
60
62
# make is gmake
61
63
make : make
62
64
- os : macos-13
63
- docs : yes
65
+ docs : cxref
64
66
- os : macos-13
65
67
parallel : ' '
66
68
#
72
74
# make is gmake
73
75
make : make
74
76
- os : macos-14
75
- docs : yes
77
+ docs : cxref
76
78
- os : macos-14
77
79
parallel : ' '
78
80
#
84
86
# make is gmake
85
87
make : make
86
88
- os : macos-latest
87
- docs : yes
89
+ docs : cxref
88
90
- os : macos-latest
89
91
parallel : ' '
90
92
#
93
95
# it's gmake
94
96
make : make
95
97
- os : ubuntu-22.04
96
- docs : no
98
+ docs : true
97
99
- os : ubuntu-22.04
98
100
parallel : ' '
99
101
#
@@ -104,7 +106,7 @@ jobs:
104
106
- os : ubuntu-20.04
105
107
# cxref trips an error in a system header
106
108
# /usr/include/x86_64-linux-gnu/bits/mathcalls-helper-functions.h:21: cxref: syntax error, unexpected IDENTIFIER, expecting ')'
107
- docs : yes
109
+ docs : cxref
108
110
- os : ubuntu-20.04
109
111
# BMake 20181221 seems to run SUBDIR in parallel, but doesn't
110
112
# support .WAIT in the list!
@@ -120,7 +122,7 @@ jobs:
120
122
# it's gmake
121
123
make : make
122
124
- os : ubuntu-latest
123
- docs : no
125
+ docs : true
124
126
- os : ubuntu-latest
125
127
parallel : ' '
126
128
#
@@ -131,7 +133,7 @@ jobs:
131
133
- os : netbsd-latest
132
134
cc : clang
133
135
- os : netbsd-latest
134
- docs : no
136
+ docs : true
135
137
- os : netbsd-latest
136
138
parallel : ' '
137
139
steps :
@@ -173,16 +175,16 @@ jobs:
173
175
env | sort
174
176
- name : build
175
177
run : |
176
- MAKEOBJDIRPREFIX=$(pwd -P)/build ${{ matrix.make }} ${{ matrix.parallel }} CC=${{ matrix.cc }} ${{ matrix.sanitizer }}=yes MKDOC =${{ matrix.docs }}
178
+ MAKEOBJDIRPREFIX=$(pwd -P)/build ${{ matrix.make }} ${{ matrix.parallel }} CC=${{ matrix.cc }} ${{ matrix.sanitizer }}=yes CXREF =${{ matrix.docs }}
177
179
- name : distribution without parallel
178
180
# XXX BMake does not seem to handle parallel installs well yet....
179
181
if : ${{ startsWith(matrix.make, 'bmake') }}
180
182
run : |
181
- MAKEOBJDIRPREFIX=$(pwd -P)/build ${{ matrix.make }} install MKDOC =${{ matrix.docs }} DESTDIR=$(pwd -P)/dist
183
+ MAKEOBJDIRPREFIX=$(pwd -P)/build ${{ matrix.make }} install CXREF =${{ matrix.docs }} DESTDIR=$(pwd -P)/dist
182
184
- name : distribution in parallel
183
185
if : ${{ ! startsWith(matrix.make, 'bmake') }}
184
186
run : |
185
- MAKEOBJDIRPREFIX=$(pwd -P)/build ${{ matrix.make }} ${{ matrix.parallel }} install MKDOC =${{ matrix.docs }} DESTDIR=$(pwd -P)/dist
187
+ MAKEOBJDIRPREFIX=$(pwd -P)/build ${{ matrix.make }} ${{ matrix.parallel }} install CXREF =${{ matrix.docs }} DESTDIR=$(pwd -P)/dist
186
188
- name : regression
187
189
run : |
188
- MAKEOBJDIRPREFIX=$(pwd -P)/build ${{ matrix.make }} ${{ matrix.parallel }} regress MKDOC =${{ matrix.docs }}
190
+ MAKEOBJDIRPREFIX=$(pwd -P)/build ${{ matrix.make }} ${{ matrix.parallel }} regress CXREF =${{ matrix.docs }}
0 commit comments