@@ -15,19 +15,13 @@ jobs:
15
15
#
16
16
name : Generate package tag
17
17
runs-on : ubuntu-latest
18
- env :
19
- PACKAGE_NAME : cbmc-latest
20
- VERSION_SCRIPT : .github/workflows/version.py
21
18
outputs :
22
19
time : ${{ steps.time.outputs.time }}
23
20
sha : ${{ steps.sha.outputs.sha }}
24
21
runid : ${{ steps.runid.outputs.runid }}
25
22
runnum : ${{ steps.runnum.outputs.runnum }}
26
- name : ${{ env.PACKAGE_NAME }}
27
23
cbmc_version : ${{ steps.version.outputs.cbmc_version }}
28
24
pkg_version : ${{ steps.version.outputs.pkg_version }}
29
- opentag : ${{ steps.opentag.outputs.opentag }}
30
- closedtag : ${{ steps.closedtag.outputs.closedtag }}
31
25
steps :
32
26
33
27
- name : Checkout the repository
@@ -74,16 +68,12 @@ jobs:
74
68
runs-on : ubuntu-16.04
75
69
needs : Tags
76
70
env :
77
- OS : xenial
78
71
PKG_VERSION : ${{needs.Tags.outputs.pkg_version}}
79
72
CBMC_VERSION : ${{needs.Tags.outputs.cbmc_version}}
80
- TIME : ${{needs.Tags.outputs.time}}
81
- SHA : ${{needs.Tags.outputs.sha}}
82
-
83
- PACKAGE_STABLE_NAME : cbmc_${{needs.Tags.outputs.pkg_version}}~xenial_amd64.deb
84
- ARTIFACT_STABLE_NAME : Ubuntu16 cbmc ${{needs.Tags.outputs.pkg_version}} xenial ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
85
-
73
+ PACKAGE_NAME : cbmc_${{needs.Tags.outputs.pkg_version}}~xenial_amd64.deb
74
+ ARTIFACT_NAME : Ubuntu16 cbmc ${{needs.Tags.outputs.pkg_version}} xenial ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
86
75
SCRIPT_DIR : .github/workflows/debian
76
+
87
77
steps :
88
78
89
79
- name : Checkout the repository
@@ -97,65 +87,25 @@ jobs:
97
87
cp -r . /tmp/cbmc-${CBMC_VERSION}
98
88
cp ${SCRIPT_DIR}/Makefile ${SCRIPT_DIR}/changelog ${SCRIPT_DIR}/surefire ${SCRIPT_DIR}/64bit_regression_tests.patch /tmp
99
89
make -C /tmp GITHUB=1 STABLE=1 CBMC_VERSION=${CBMC_VERSION} PKG_VERSION=${PKG_VERSION}
100
- mv /tmp/*.deb ${PACKAGE_STABLE_NAME }
90
+ mv /tmp/*.deb ${PACKAGE_NAME }
101
91
102
92
- name : Upload the package
103
93
uses : actions/upload-artifact@v1
104
94
with :
105
- name : ${{ env.ARTIFACT_STABLE_NAME }}
106
- path : ${{ env.PACKAGE_STABLE_NAME }}
107
-
108
- # Ubuntu16_Latest:
109
- # name: Ubuntu 16 cbmc-latest package
110
- # runs-on: ubuntu-16.04
111
- # needs: Tags
112
- # env:
113
- # OS: xenial
114
- # PKG_VERSION: ${{needs.Tags.outputs.pkg_version}}
115
- # CBMC_VERSION: ${{needs.Tags.outputs.cbmc_version}}
116
- # TIME: ${{needs.Tags.outputs.time}}
117
- # SHA: ${{needs.Tags.outputs.sha}}
118
- #
119
- # PACKAGE_LATEST_NAME: cbmc-latest_${{needs.Tags.outputs.pkg_version}}~xenial_amd64.deb
120
- # ARTIFACT_LATEST_NAME: Ubuntu16 cbmc-latest ${{needs.Tags.outputs.pkg_version}} xenial ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
121
- #
122
- # SCRIPT_DIR: .github/workflows/debian
123
- # steps:
124
- #
125
- # - name: Checkout the repository
126
- # uses: actions/checkout@v2
127
- #
128
- # - name: Update the submodules
129
- # run: git submodule update --init
130
- #
131
- # - name: Create the package
132
- # run: |
133
- # cp -r . /tmp/cbmc-${CBMC_VERSION}
134
- # cp ${SCRIPT_DIR}/Makefile ${SCRIPT_DIR}/changelog ${SCRIPT_DIR}/surefire ${SCRIPT_DIR}/64bit_regression_tests.patch /tmp
135
- # make -C /tmp GITHUB=1 STABLE= CBMC_VERSION=${CBMC_VERSION} PKG_VERSION=${PKG_VERSION}
136
- # mv /tmp/*.deb ${PACKAGE_LATEST_NAME}
137
- #
138
- # - name: Upload the package
139
- # uses: actions/upload-artifact@v1
140
- # with:
141
- # name: ${{ env.ARTIFACT_LATEST_NAME }}
142
- # path: ${{ env.PACKAGE_LATEST_NAME }}
95
+ name : ${{ env.ARTIFACT_NAME }}
96
+ path : ${{ env.PACKAGE_NAME }}
143
97
144
98
Ubuntu18 :
145
99
name : Ubuntu 18 cbmc package
146
100
runs-on : ubuntu-18.04
147
101
needs : Tags
148
102
env :
149
- OS : bionic
150
103
PKG_VERSION : ${{needs.Tags.outputs.pkg_version}}
151
104
CBMC_VERSION : ${{needs.Tags.outputs.cbmc_version}}
152
- TIME : ${{needs.Tags.outputs.time}}
153
- SHA : ${{needs.Tags.outputs.sha}}
154
-
155
- PACKAGE_STABLE_NAME : cbmc_${{needs.Tags.outputs.pkg_version}}~bionic_amd64.deb
156
- ARTIFACT_STABLE_NAME : Ubuntu18 cbmc ${{needs.Tags.outputs.pkg_version}} bionic ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
157
-
105
+ PACKAGE_NAME : cbmc_${{needs.Tags.outputs.pkg_version}}~bionic_amd64.deb
106
+ ARTIFACT_NAME : Ubuntu18 cbmc ${{needs.Tags.outputs.pkg_version}} bionic ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
158
107
SCRIPT_DIR : .github/workflows/debian
108
+
159
109
steps :
160
110
161
111
- name : Checkout the repository
@@ -169,67 +119,24 @@ jobs:
169
119
cp -r . /tmp/cbmc-${CBMC_VERSION}
170
120
cp ${SCRIPT_DIR}/Makefile ${SCRIPT_DIR}/changelog ${SCRIPT_DIR}/surefire ${SCRIPT_DIR}/64bit_regression_tests.patch /tmp
171
121
make -C /tmp GITHUB=1 STABLE=1 CBMC_VERSION=${CBMC_VERSION} PKG_VERSION=${PKG_VERSION}
172
- mv /tmp/*.deb ${PACKAGE_STABLE_NAME }
122
+ mv /tmp/*.deb ${PACKAGE_NAME }
173
123
174
124
- name : Upload the package
175
125
uses : actions/upload-artifact@v1
176
126
with :
177
- name : ${{ env.ARTIFACT_STABLE_NAME }}
178
- path : ${{ env.PACKAGE_STABLE_NAME }}
179
-
180
- # Ubuntu18_Latest:
181
- # name: Ubuntu 18 cbmc-latest package
182
- # runs-on: ubuntu-18.04
183
- # needs: Tags
184
- # env:
185
- # OS: bionic
186
- # PKG_VERSION: ${{needs.Tags.outputs.pkg_version}}
187
- # CBMC_VERSION: ${{needs.Tags.outputs.cbmc_version}}
188
- # TIME: ${{needs.Tags.outputs.time}}
189
- # SHA: ${{needs.Tags.outputs.sha}}
190
- #
191
- # PACKAGE_LATEST_NAME: cbmc-latest_${{needs.Tags.outputs.pkg_version}}~bionic_amd64.deb
192
- # ARTIFACT_LATEST_NAME: Ubuntu18 cbmc-latest ${{needs.Tags.outputs.pkg_version}} bionic ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
193
- #
194
- # SCRIPT_DIR: .github/workflows/debian
195
- # steps:
196
- #
197
- # - name: Checkout the repository
198
- # uses: actions/checkout@v2
199
- #
200
- # - name: Update the submodules
201
- # run: git submodule update --init
202
- #
203
- # - name: Create the package
204
- # run: |
205
- # cp -r . /tmp/cbmc-${CBMC_VERSION}
206
- # cp ${SCRIPT_DIR}/Makefile ${SCRIPT_DIR}/changelog ${SCRIPT_DIR}/surefire ${SCRIPT_DIR}/64bit_regression_tests.patch /tmp
207
- # make -C /tmp GITHUB=1 STABLE= CBMC_VERSION=${CBMC_VERSION} PKG_VERSION=${PKG_VERSION}
208
- # mv /tmp/*.deb ${PACKAGE_LATEST_NAME}
209
- #
210
- # - name: Upload the package
211
- # uses: actions/upload-artifact@v1
212
- # with:
213
- # name: ${{ env.ARTIFACT_LATEST_NAME }}
214
- # path: ${{ env.PACKAGE_LATEST_NAME }}
127
+ name : ${{ env.ARTIFACT_NAME }}
128
+ path : ${{ env.PACKAGE_NAME }}
215
129
216
130
MacOS :
217
- name : MacOS packages
131
+ name : MacOS tarball
218
132
runs-on : macos-10.15
219
133
needs : Tags
220
134
env :
221
- OS : catalina
222
135
VERSION : ${{needs.Tags.outputs.pkg_version}}
223
- TIME : ${{needs.Tags.outputs.time}}
224
- SHA : ${{needs.Tags.outputs.sha}}
225
-
226
- PACKAGE_STABLE_NAME : cbmc_${{needs.Tags.outputs.pkg_version}}~catalina.tar.gz
227
- PACKAGE_LATEST_NAME : cbmc-latest_${{needs.Tags.outputs.pkg_version}}~catalina.tar.gz
228
-
229
- ARTIFACT_STABLE_NAME : MacOS cbmc ${{needs.Tags.outputs.pkg_version}} catalina ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
230
- ARTIFACT_LATEST_NAME : MacOS cbmc-latest ${{needs.Tags.outputs.pkg_version}} catalina ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
231
-
136
+ PACKAGE_NAME : cbmc_${{needs.Tags.outputs.pkg_version}}~catalina.tar.gz
137
+ ARTIFACT_NAME : MacOS cbmc ${{needs.Tags.outputs.pkg_version}} catalina ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
232
138
SCRIPT_DIR : .github/workflows/macos15
139
+
233
140
steps :
234
141
235
142
- name : Checkout the repository
@@ -241,37 +148,22 @@ jobs:
241
148
- name : Build the package
242
149
run : |
243
150
make -f ${SCRIPT_DIR}/Makefile
244
- mv cbmc.tar.gz ${PACKAGE_STABLE_NAME}
245
- # mv cbmc-latest.tar.gz ${PACKAGE_LATEST_NAME}
151
+ mv cbmc.tar.gz ${PACKAGE_NAME}
246
152
247
- - name : Upload the cbmc package
153
+ - name : Upload the package
248
154
uses : actions/upload-artifact@v1
249
155
with :
250
- name : ${{env.ARTIFACT_STABLE_NAME}}
251
- path : ${{env.PACKAGE_STABLE_NAME}}
252
-
253
- # - name: Upload the cbmc-latest package
254
- # uses: actions/upload-artifact@v1
255
- # with:
256
- # name: ${{env.ARTIFACT_LATEST_NAME}}
257
- # path: ${{env.PACKAGE_LATEST_NAME}}
156
+ name : ${{env.ARTIFACT_NAME}}
157
+ path : ${{env.PACKAGE_NAME}}
258
158
259
159
VS2019 :
260
- name : Windows VS2019 installers
160
+ name : Windows VS2019 installer
261
161
runs-on : windows-2019
262
162
needs : Tags
263
163
env :
264
- OS : vs2019
265
164
VERSION : ${{needs.Tags.outputs.pkg_version}}
266
- TIME : ${{needs.Tags.outputs.time}}
267
- SHA : ${{needs.Tags.outputs.sha}}
268
-
269
- PACKAGE_STABLE_NAME : cbmc_${{needs.Tags.outputs.pkg_version}}~vs2019.msi
270
- PACKAGE_LATEST_NAME : cbmc-latest_${{needs.Tags.outputs.pkg_version}}~vs2019.msi
271
-
272
- ARTIFACT_STABLE_NAME : Windows cbmc ${{needs.Tags.outputs.pkg_version}} vs2019 ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
273
- ARTIFACT_LATEST_NAME : Windows cbmc-latest ${{needs.Tags.outputs.pkg_version}} vs2019 ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
274
-
165
+ PACKAGE_NAME : cbmc_${{needs.Tags.outputs.pkg_version}}~vs2019.msi
166
+ ARTIFACT_NAME : Windows cbmc ${{needs.Tags.outputs.pkg_version}} vs2019 ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}}
275
167
SCRIPT_DIR : .github\workflows\vs2019
276
168
277
169
defaults :
@@ -294,22 +186,12 @@ jobs:
294
186
- name : Build cbmc
295
187
run : ${{env.SCRIPT_DIR}}\build-cbmc.bat
296
188
297
- - name : Build the stable installer
189
+ - name : Build the installer
298
190
run : |
299
- ${{env.SCRIPT_DIR}}\build-installer.bat cbmc && move cbmc.msi ${{env.PACKAGE_STABLE_NAME}}
300
-
301
- # - name: Build the latest installer
302
- # run: |
303
- # ${{env.SCRIPT_DIR}}\build-installer.bat cbmc-latest && move cbmc-latest.msi ${{env.PACKAGE_LATEST_NAME}}
191
+ ${{env.SCRIPT_DIR}}\build-installer.bat cbmc && move cbmc.msi ${{env.PACKAGE_NAME}}
304
192
305
- - name : Upload the cbmc installer
193
+ - name : Upload the installer
306
194
uses : actions/upload-artifact@v1
307
195
with :
308
- name : ${{env.ARTIFACT_STABLE_NAME}}
309
- path : ${{env.PACKAGE_STABLE_NAME}}
310
-
311
- # - name: Upload the cbmc-latest installer
312
- # uses: actions/upload-artifact@v1
313
- # with:
314
- # name: ${{env.ARTIFACT_LATEST_NAME}}
315
- # path: ${{env.PACKAGE_LATEST_NAME}}
196
+ name : ${{env.ARTIFACT_NAME}}
197
+ path : ${{env.PACKAGE_NAME}}
0 commit comments