3
3
4
4
# This is YAML - indentation levels are crucial
5
5
6
- # Set the ' name:' properties to values that work for you (pvxs)
6
+ # Workflow name
7
7
8
8
name : Base
9
9
10
10
# Trigger on pushes and PRs to any branch
11
11
on :
12
12
push :
13
13
paths-ignore :
14
- - ' .*.yml'
15
14
- ' documentation/*'
16
- - ' **/*.md '
15
+ - ' .*.yml '
17
16
pull_request :
18
17
paths-ignore :
19
- - ' .*.yml'
20
18
- ' documentation/*'
21
- - ' **/*.md '
19
+ - ' .*.yml '
22
20
23
21
env :
24
22
SETUP_PATH : .ci-local:.ci
@@ -33,35 +31,26 @@ jobs:
33
31
BASE : ${{ matrix.base }}
34
32
CMP : ${{ matrix.cmp }}
35
33
BCFG : ${{ matrix.configuration }}
36
- WINE : ${{ matrix.wine }}
37
- RTEMS : ${{ matrix.rtems }}
38
- RTEMS_TARGET : ${{ matrix.rtems_target }}
34
+ CI_CROSS_TARGETS : ${{ matrix.cross }}
39
35
EXTRA : ${{ matrix.extra }}
40
36
TEST : ${{ matrix.test }}
41
37
strategy :
42
38
fail-fast : false
43
39
matrix :
44
40
# Job names also name artifacts, character limitations apply
45
41
include :
46
- - os : ubuntu-20.04
47
- cmp : gcc
48
- configuration : default
49
- base : " 3.15"
50
- wine : " 64"
51
- name : " 3.15 Ub-20 gcc-9 + MinGW"
52
-
53
42
- os : ubuntu-20.04
54
43
cmp : gcc
55
44
configuration : default
56
45
base : " 7.0"
57
- wine : " 64 "
46
+ cross : " windows-x64-mingw "
58
47
name : " 7.0 Ub-20 gcc-9 + MinGW"
59
48
60
49
- os : ubuntu-20.04
61
50
cmp : gcc
62
51
configuration : static
63
52
base : " 7.0"
64
- wine : " 64 "
53
+ cross : " windows-x64-mingw "
65
54
name : " 7.0 Ub-20 gcc-9 + MinGW, static"
66
55
67
56
- os : ubuntu-20.04
@@ -88,26 +77,22 @@ jobs:
88
77
cmp : gcc
89
78
configuration : default
90
79
base : " 7.0"
91
- rtems : " 5"
92
- rtems_target : RTEMS-pc686-qemu
93
- test : NO
80
+ cross : " RTEMS-pc686-qemu@5"
94
81
name : " 7.0 Ub-20 gcc-9 + RT-5.1 pc686"
95
82
96
83
- os : ubuntu-20.04
97
84
cmp : gcc
98
85
configuration : default
99
86
base : " 7.0"
100
- rtems : " 4.10"
101
- rtems_target : RTEMS-pc386-qemu
87
+
102
88
test : NO
103
89
name : " 7.0 Ub-20 gcc-9 + RT-4.10"
104
90
105
91
- os : ubuntu-20.04
106
92
cmp : gcc
107
93
configuration : default
108
94
base : " 7.0"
109
- rtems : " 4.9"
110
- rtems_target : RTEMS-pc386-qemu
95
+
111
96
name : " 7.0 Ub-20 gcc-9 + RT-4.9"
112
97
113
98
- os : macos-latest
@@ -121,12 +106,14 @@ jobs:
121
106
configuration : default
122
107
base : " 7.0"
123
108
name : " 7.0 Win2019 MSC-19"
109
+ extra : " CMD_CXXFLAGS=-analysis"
124
110
125
111
- os : windows-2019
126
112
cmp : vs2019
127
113
configuration : static
128
114
base : " 7.0"
129
115
name : " 7.0 Win2019 MSC-19, static"
116
+ extra : " CMD_CXXFLAGS=-analysis"
130
117
131
118
- os : windows-2019
132
119
cmp : vs2019
@@ -140,15 +127,17 @@ jobs:
140
127
base : " 7.0"
141
128
name : " 7.0 Win2019 mingw"
142
129
130
+ - os : ubuntu-20.04
131
+ cmp : gcc
132
+ configuration : default
133
+ base : " 3.15"
134
+ wine : " 64"
135
+ name : " 3.15 Ub-20 gcc-9 + MinGW"
136
+
143
137
steps :
144
- - uses : actions/checkout@v2
138
+ - uses : actions/checkout@v3
145
139
with :
146
140
submodules : true
147
- - name : Cache Dependencies
148
- uses : actions/cache@v2
149
- with :
150
- path : ~/.cache
151
- key : ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}/${{ matrix.wine }}${{ matrix.rtems }}/${{ matrix.rtems_target }}/${{ matrix.extra }}
152
141
- name : Automatic core dump analysis
153
142
uses : mdavidsaver/ci-core-dumper@master
154
143
- name : " apt-get install"
@@ -164,7 +153,7 @@ jobs:
164
153
run : python .ci/cue.py -T 20M test
165
154
- name : Upload tapfiles Artifact
166
155
if : ${{ always() }}
167
- uses : actions/upload-artifact@v2
156
+ uses : actions/upload-artifact@v3
168
157
with :
169
158
name : tapfiles ${{ matrix.name }}
170
159
path : ' **/O.*/*.tap'
0 commit comments