|
1 | 1 | name: Package CBMC |
2 | 2 | on: [push] |
3 | 3 |
|
| 4 | +# This is the trigger to use when merged into the cbmc repo. |
| 5 | +# Until then leave the old trigger to facilitate debugging of the pull request. |
| 6 | +# on: |
| 7 | +# # Build packages when new commits are added to the develop branch. |
| 8 | +# push: |
| 9 | +# branches: |
| 10 | +# - develop |
| 11 | + |
4 | 12 | jobs: |
5 | 13 | Tags: |
6 | 14 | # |
@@ -226,91 +234,6 @@ jobs: |
226 | 234 | name: ${{ env.ARTIFACT_LATEST_NAME }} |
227 | 235 | path: ${{ env.PACKAGE_LATEST_NAME }} |
228 | 236 |
|
229 | | -# Ubuntu16: |
230 | | -# name: Ubuntu 16 package |
231 | | -# runs-on: ubuntu-16.04 |
232 | | -# needs: Tags |
233 | | -# env: |
234 | | -# PACKAGE_STABLE_NAME: cbmc_${{needs.Tags.outputs.pkg_version}}~xenial_amd64.deb |
235 | | -# PACKAGE_LATEST_NAME: cbmc-latest_${{needs.Tags.outputs.pkg_version}}~xenial_amd64.deb |
236 | | -# |
237 | | -# ARTIFACT_STABLE_NAME: Ubuntu16 cbmc ${{needs.Tags.outputs.pkg_version}} xenial ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}} |
238 | | -# ARTIFACT_LATEST_NAME: Ubuntu16 cbmc-latest ${{needs.Tags.outputs.pkg_version}} xenial ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}} |
239 | | -# |
240 | | -# SCRIPT_DIR: .github/workflows/ubuntu16 |
241 | | -# |
242 | | -# steps: |
243 | | -# - name: Checkout the repository |
244 | | -# uses: actions/checkout@v2 |
245 | | -# |
246 | | -# - name: Update the submodules |
247 | | -# run: git submodule update --init |
248 | | -# |
249 | | -# - name: Create the cbmc package |
250 | | -# run: | |
251 | | -# make -f ${SCRIPT_DIR}/Makefile SCRIPT_DIR=${SCRIPT_DIR} PKGDIR=cbmc PACKAGE_NAME=cbmc_amd64.deb PREFIX=/usr |
252 | | -# mv cbmc_amd64.deb ${PACKAGE_STABLE_NAME} |
253 | | -# |
254 | | -# - name: Create the cbmc-latest package |
255 | | -# run: | |
256 | | -# make -f ${SCRIPT_DIR}/Makefile SCRIPT_DIR=${SCRIPT_DIR} PKGDIR=cbmc-latest PACKAGE_NAME=cbmc-latest_amd64.deb PREFIX=/usr/local/cbmc-latest |
257 | | -# mv cbmc-latest_amd64.deb ${PACKAGE_LATEST_NAME} |
258 | | -# |
259 | | -# - name: Upload the cbmc package |
260 | | -# uses: actions/upload-artifact@v1 |
261 | | -# with: |
262 | | -# name: ${{ env.ARTIFACT_STABLE_NAME }} |
263 | | -# path: ${{ env.PACKAGE_STABLE_NAME }} |
264 | | -# |
265 | | -# - name: Upload the cbmc-latest package |
266 | | -# uses: actions/upload-artifact@v1 |
267 | | -# with: |
268 | | -# name: ${{ env.ARTIFACT_LATEST_NAME }} |
269 | | -# path: ${{ env.PACKAGE_LATEST_NAME }} |
270 | | - |
271 | | - |
272 | | -# Ubuntu18: |
273 | | -# name: Ubuntu 18 package |
274 | | -# runs-on: ubuntu-18.04 |
275 | | -# needs: Tags |
276 | | -# env: |
277 | | -# PACKAGE_STABLE_NAME: cbmc_${{needs.Tags.outputs.pkg_version}}~bionic_amd64.deb |
278 | | -# PACKAGE_LATEST_NAME: cbmc-latest_${{needs.Tags.outputs.pkg_version}}~bionic_amd64.deb |
279 | | -# |
280 | | -# ARTIFACT_STABLE_NAME: Ubuntu18 cbmc ${{needs.Tags.outputs.pkg_version}} bionic ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}} |
281 | | -# ARTIFACT_LATEST_NAME: Ubuntu18 cbmc-latest ${{needs.Tags.outputs.pkg_version}} bionic ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}} |
282 | | -# |
283 | | -# SCRIPT_DIR: .github/workflows/ubuntu18 |
284 | | -# |
285 | | -# steps: |
286 | | -# - name: Checkout the repository |
287 | | -# uses: actions/checkout@v2 |
288 | | -# |
289 | | -# - name: Update the submodules |
290 | | -# run: git submodule update --init |
291 | | -# |
292 | | -# - name: Create the cbmc package |
293 | | -# run: | |
294 | | -# make -f ${SCRIPT_DIR}/Makefile SCRIPT_DIR=${SCRIPT_DIR} PKGDIR=cbmc PACKAGE_NAME=cbmc_amd64.deb PREFIX=/usr |
295 | | -# mv cbmc_amd64.deb ${PACKAGE_STABLE_NAME} |
296 | | -# |
297 | | -# - name: Create the cbmc-latest package |
298 | | -# run: | |
299 | | -# make -f ${SCRIPT_DIR}/Makefile SCRIPT_DIR=${SCRIPT_DIR} PKGDIR=cbmc-latest PACKAGE_NAME=cbmc-latest_amd64.deb PREFIX=/usr/local/cbmc-latest |
300 | | -# mv cbmc-latest_amd64.deb ${PACKAGE_LATEST_NAME} |
301 | | -# |
302 | | -# - name: Upload the cbmc package |
303 | | -# uses: actions/upload-artifact@v1 |
304 | | -# with: |
305 | | -# name: ${{ env.ARTIFACT_STABLE_NAME }} |
306 | | -# path: ${{ env.PACKAGE_STABLE_NAME }} |
307 | | -# |
308 | | -# - name: Upload the cbmc-latest package |
309 | | -# uses: actions/upload-artifact@v1 |
310 | | -# with: |
311 | | -# name: ${{ env.ARTIFACT_LATEST_NAME }} |
312 | | -# path: ${{ env.PACKAGE_LATEST_NAME }} |
313 | | - |
314 | 237 | MacOS: |
315 | 238 | name: MacOS packages |
316 | 239 | runs-on: macos-10.15 |
|
0 commit comments