@@ -16,80 +16,122 @@ env:
16
16
17
17
jobs :
18
18
build-client :
19
- name : ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}${{ matrix.rtems }}/${{ matrix.extra }}
19
+ name : ${{ matrix.name }}
20
20
runs-on : ${{ matrix.os }}
21
21
# Set environment variables from matrix parameters
22
22
env :
23
23
BASE : ${{ matrix.base }}
24
24
CMP : ${{ matrix.cmp }}
25
25
BCFG : ${{ matrix.configuration }}
26
- RTEMS : ${{ matrix.rtems }}
26
+ CI_CROSS_TARGETS : ${{ matrix.cross }}
27
27
EXTRA : ${{ matrix.extra }}
28
28
TEST : ${{ matrix.test }}
29
29
strategy :
30
30
fail-fast : false
31
31
matrix :
32
32
include :
33
- - os : ubuntu-latest
33
+ - name : Linux-Mingw-7.0
34
+ os : ubuntu-latest
34
35
cmp : gcc
35
36
configuration : default
36
37
base : " 7.0"
37
- wine : " 64 "
38
+ cross : " windows-x64-mingw "
38
39
39
- - os : ubuntu-latest
40
+ - name : Linux-static-7.0
41
+ os : ubuntu-latest
40
42
cmp : gcc
41
43
configuration : static
42
44
base : " 7.0"
43
45
44
- - os : ubuntu-latest
46
+ - name : Linux-3.15
47
+ os : ubuntu-latest
45
48
cmp : gcc
46
49
configuration : default
47
50
base : " 3.15"
48
51
49
- - os : ubuntu-latest
52
+ - name : Linux-3.14
53
+ os : ubuntu-latest
50
54
cmp : gcc
51
55
configuration : default
52
56
base : " 3.14"
53
57
54
- - os : ubuntu-latest
58
+ - name : Linux-c++11-7.0
59
+ os : ubuntu-latest
55
60
cmp : gcc
56
61
configuration : static
57
62
base : " 7.0"
58
63
extra : " CMD_CXXFLAGS=-std=c++11"
59
64
60
- - os : ubuntu-latest
61
- cmp : gcc
65
+ - name : Linux-clang-7.0
66
+ os : ubuntu-latest
67
+ cmp : clang
62
68
configuration : default
63
69
base : " 7.0"
64
70
65
- - os : ubuntu-latest
71
+ - name : Linux-clang-c++11-7.0
72
+ os : ubuntu-latest
66
73
cmp : clang
67
74
configuration : default
68
75
base : " 7.0"
69
76
extra : " CMD_CXXFLAGS=-std=c++11"
70
77
71
- - os : ubuntu-latest
78
+ - name : Linux-rtems5-7.0
79
+ os : ubuntu-20.04
80
+ cmp : gcc
81
+ configuration : default
82
+ base : " 7.0"
83
+ cross : " RTEMS-pc686-qemu@5"
84
+
85
+ - name : Linux-rtems4.10-7.0
86
+ os : ubuntu-20.04
72
87
cmp : gcc
73
88
configuration : default
74
89
base : " 7.0"
75
- rtems : " 4.10"
90
+
91
+ test : NO
76
92
77
- - os : ubuntu-latest
93
+ - name : Linux-rtems4.9-7.0
94
+ os : ubuntu-20.04
78
95
cmp : gcc
79
96
configuration : default
80
97
base : " 7.0"
81
- rtems : " 4.9"
98
+ cross : " RTEMS-pc386-qemu@ 4.9"
82
99
83
- - os : ubuntu-latest
100
+ - name : OSX-7.0
101
+ os : macos-latest
84
102
cmp : clang
85
103
configuration : default
86
104
base : " 7.0"
87
105
106
+ - name : msvc-7.0
107
+ os : windows-latest
108
+ cmp : vs2022
109
+ configuration : default
110
+ base : " 7.0"
111
+
112
+ - name : msvc-static-7.0
113
+ os : windows-latest
114
+ cmp : vs2022
115
+ configuration : static
116
+ base : " 7.0"
117
+
118
+ - name : msvc-debug-7.0
119
+ os : windows-latest
120
+ cmp : vs2022
121
+ configuration : debug
122
+ base : " 7.0"
123
+
124
+ - name : mingw-7.0
125
+ os : windows-latest
126
+ cmp : gcc
127
+ configuration : default
128
+ base : " 7.0"
129
+
88
130
defaults :
89
131
run :
90
132
working-directory : client
91
133
steps :
92
- - uses : actions/checkout@v2
134
+ - uses : actions/checkout@v3
93
135
with :
94
136
submodules : true
95
137
- name : Automatic core dump analysis
@@ -105,14 +147,15 @@ jobs:
105
147
run : python .ci/cue.py build
106
148
- name : Run main module tests
107
149
run : python .ci/cue.py test
108
- - name : Collect and show test results
109
- run : python .ci/cue.py test-results
110
150
- name : Upload tapfiles Artifact
111
151
if : ${{ always() }}
112
- uses : actions/upload-artifact@v2
152
+ uses : actions/upload-artifact@v3
113
153
with :
114
154
name : tapfiles ${{ matrix.name }}
115
155
path : ' **/O.*/*.tap'
156
+ - name : Collect and show test results
157
+ if : ${{ always() }}
158
+ run : python .ci/cue.py test-results
116
159
117
160
docker :
118
161
name : ${{ matrix.name }}
@@ -123,7 +166,6 @@ jobs:
123
166
CMP : ${{ matrix.cmp }}
124
167
BCFG : ${{ matrix.configuration }}
125
168
BASE : ${{ matrix.base }}
126
- WINE : ${{ matrix.wine }}
127
169
LIBEVENT_TAG : ${{ matrix.libevent }}
128
170
EXTRA : ${{ matrix.extra }}
129
171
VV : " 1"
@@ -169,7 +211,7 @@ jobs:
169
211
# people would rather just break all existing scripts...
170
212
[ -e /usr/bin/python ] || ln -sf /usr/bin/python3 /usr/bin/python
171
213
python --version
172
- - uses : actions/checkout@v2
214
+ - uses : actions/checkout@v3
173
215
with :
174
216
submodules : true
175
217
- name : Automatic core dumper analysis
@@ -183,12 +225,13 @@ jobs:
183
225
- name : Run main module tests
184
226
working-directory : ./client
185
227
run : python .ci/cue.py test
186
- - name : Collect and show test results
187
- working-directory : ./client
188
- run : python .ci/cue.py test-results
189
228
- name : Upload tapfiles Artifact
190
229
if : ${{ always() }}
191
- uses : actions/upload-artifact@v2
230
+ uses : actions/upload-artifact@v3
192
231
with :
193
232
name : tapfiles ${{ matrix.name }}
194
233
path : ' **/O.*/*.tap'
234
+ - name : Collect and show test results
235
+ if : ${{ always() }}
236
+ working-directory : ./client
237
+ run : python .ci/cue.py test-results
0 commit comments