Skip to content

Commit d6455b4

Browse files
author
Mark R Tuttle
committed
Remove old Ubuntu16/Ubuntu18 builds.
This removes the old Ubuntu16 and Ubuntu18 work and relies now on the original Debian work to build the Ubuntu packages. This implements a new API for that work to create cbmc and cbmc-latest packages from tarballs and from a clone of the repository. This also adds as a comment the workflow trigger to use when this is merged into the cbmc repo.
1 parent 6f05a7e commit d6455b4

File tree

5 files changed

+8
-231
lines changed

5 files changed

+8
-231
lines changed

.github/workflows/packages.yaml

Lines changed: 8 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
name: Package CBMC
22
on: [push]
33

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+
412
jobs:
513
Tags:
614
#
@@ -226,91 +234,6 @@ jobs:
226234
name: ${{ env.ARTIFACT_LATEST_NAME }}
227235
path: ${{ env.PACKAGE_LATEST_NAME }}
228236

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-
314237
MacOS:
315238
name: MacOS packages
316239
runs-on: macos-10.15

.github/workflows/ubuntu16/Makefile

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/workflows/ubuntu16/control

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/ubuntu18/Makefile

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/workflows/ubuntu18/control

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)