-
Notifications
You must be signed in to change notification settings - Fork 278
GitHub actions #5433
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
GitHub actions #5433
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,7 +69,7 @@ jobs: | |
echo CBMC_VERSION = ${{ steps.version.outputs.cbmc_version }} | ||
echo PKG_VERSION = ${{ steps.version.outputs.pkg_version }} | ||
|
||
Ubuntu16_Stable: | ||
Ubuntu16: | ||
name: Ubuntu 16 cbmc package | ||
runs-on: ubuntu-16.04 | ||
needs: Tags | ||
|
@@ -105,43 +105,43 @@ jobs: | |
name: ${{ env.ARTIFACT_STABLE_NAME }} | ||
path: ${{ env.PACKAGE_STABLE_NAME }} | ||
|
||
Ubuntu16_Latest: | ||
name: Ubuntu 16 cbmc-latest package | ||
runs-on: ubuntu-16.04 | ||
needs: Tags | ||
env: | ||
OS: xenial | ||
PKG_VERSION: ${{needs.Tags.outputs.pkg_version}} | ||
CBMC_VERSION: ${{needs.Tags.outputs.cbmc_version}} | ||
TIME: ${{needs.Tags.outputs.time}} | ||
SHA: ${{needs.Tags.outputs.sha}} | ||
|
||
PACKAGE_LATEST_NAME: cbmc-latest_${{needs.Tags.outputs.pkg_version}}~xenial_amd64.deb | ||
ARTIFACT_LATEST_NAME: Ubuntu16 cbmc-latest ${{needs.Tags.outputs.pkg_version}} xenial ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}} | ||
|
||
SCRIPT_DIR: .github/workflows/debian | ||
steps: | ||
|
||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Update the submodules | ||
run: git submodule update --init | ||
|
||
- name: Create the package | ||
run: | | ||
cp -r . /tmp/cbmc-${CBMC_VERSION} | ||
cp ${SCRIPT_DIR}/Makefile ${SCRIPT_DIR}/changelog ${SCRIPT_DIR}/surefire ${SCRIPT_DIR}/64bit_regression_tests.patch /tmp | ||
make -C /tmp GITHUB=1 STABLE= CBMC_VERSION=${CBMC_VERSION} PKG_VERSION=${PKG_VERSION} | ||
mv /tmp/*.deb ${PACKAGE_LATEST_NAME} | ||
|
||
- name: Upload the package | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{ env.ARTIFACT_LATEST_NAME }} | ||
path: ${{ env.PACKAGE_LATEST_NAME }} | ||
|
||
Ubuntu18_Stable: | ||
# Ubuntu16_Latest: | ||
# name: Ubuntu 16 cbmc-latest package | ||
# runs-on: ubuntu-16.04 | ||
# needs: Tags | ||
# env: | ||
# OS: xenial | ||
# PKG_VERSION: ${{needs.Tags.outputs.pkg_version}} | ||
# CBMC_VERSION: ${{needs.Tags.outputs.cbmc_version}} | ||
# TIME: ${{needs.Tags.outputs.time}} | ||
# SHA: ${{needs.Tags.outputs.sha}} | ||
# | ||
# PACKAGE_LATEST_NAME: cbmc-latest_${{needs.Tags.outputs.pkg_version}}~xenial_amd64.deb | ||
# ARTIFACT_LATEST_NAME: Ubuntu16 cbmc-latest ${{needs.Tags.outputs.pkg_version}} xenial ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}} | ||
# | ||
# SCRIPT_DIR: .github/workflows/debian | ||
# steps: | ||
# | ||
# - name: Checkout the repository | ||
# uses: actions/checkout@v2 | ||
# | ||
# - name: Update the submodules | ||
# run: git submodule update --init | ||
# | ||
# - name: Create the package | ||
# run: | | ||
# cp -r . /tmp/cbmc-${CBMC_VERSION} | ||
# cp ${SCRIPT_DIR}/Makefile ${SCRIPT_DIR}/changelog ${SCRIPT_DIR}/surefire ${SCRIPT_DIR}/64bit_regression_tests.patch /tmp | ||
# make -C /tmp GITHUB=1 STABLE= CBMC_VERSION=${CBMC_VERSION} PKG_VERSION=${PKG_VERSION} | ||
# mv /tmp/*.deb ${PACKAGE_LATEST_NAME} | ||
# | ||
# - name: Upload the package | ||
# uses: actions/upload-artifact@v1 | ||
# with: | ||
# name: ${{ env.ARTIFACT_LATEST_NAME }} | ||
# path: ${{ env.PACKAGE_LATEST_NAME }} | ||
|
||
Ubuntu18: | ||
name: Ubuntu 18 cbmc package | ||
runs-on: ubuntu-18.04 | ||
needs: Tags | ||
|
@@ -177,41 +177,41 @@ jobs: | |
name: ${{ env.ARTIFACT_STABLE_NAME }} | ||
path: ${{ env.PACKAGE_STABLE_NAME }} | ||
|
||
Ubuntu18_Latest: | ||
name: Ubuntu 18 cbmc-latest package | ||
runs-on: ubuntu-18.04 | ||
needs: Tags | ||
env: | ||
OS: bionic | ||
PKG_VERSION: ${{needs.Tags.outputs.pkg_version}} | ||
CBMC_VERSION: ${{needs.Tags.outputs.cbmc_version}} | ||
TIME: ${{needs.Tags.outputs.time}} | ||
SHA: ${{needs.Tags.outputs.sha}} | ||
|
||
PACKAGE_LATEST_NAME: cbmc-latest_${{needs.Tags.outputs.pkg_version}}~bionic_amd64.deb | ||
ARTIFACT_LATEST_NAME: Ubuntu18 cbmc-latest ${{needs.Tags.outputs.pkg_version}} bionic ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}} | ||
|
||
SCRIPT_DIR: .github/workflows/debian | ||
steps: | ||
|
||
- name: Checkout the repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Update the submodules | ||
run: git submodule update --init | ||
|
||
- name: Create the package | ||
run: | | ||
cp -r . /tmp/cbmc-${CBMC_VERSION} | ||
cp ${SCRIPT_DIR}/Makefile ${SCRIPT_DIR}/changelog ${SCRIPT_DIR}/surefire ${SCRIPT_DIR}/64bit_regression_tests.patch /tmp | ||
make -C /tmp GITHUB=1 STABLE= CBMC_VERSION=${CBMC_VERSION} PKG_VERSION=${PKG_VERSION} | ||
mv /tmp/*.deb ${PACKAGE_LATEST_NAME} | ||
|
||
- name: Upload the package | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{ env.ARTIFACT_LATEST_NAME }} | ||
path: ${{ env.PACKAGE_LATEST_NAME }} | ||
# Ubuntu18_Latest: | ||
# name: Ubuntu 18 cbmc-latest package | ||
# runs-on: ubuntu-18.04 | ||
# needs: Tags | ||
# env: | ||
# OS: bionic | ||
# PKG_VERSION: ${{needs.Tags.outputs.pkg_version}} | ||
# CBMC_VERSION: ${{needs.Tags.outputs.cbmc_version}} | ||
# TIME: ${{needs.Tags.outputs.time}} | ||
# SHA: ${{needs.Tags.outputs.sha}} | ||
# | ||
# PACKAGE_LATEST_NAME: cbmc-latest_${{needs.Tags.outputs.pkg_version}}~bionic_amd64.deb | ||
# ARTIFACT_LATEST_NAME: Ubuntu18 cbmc-latest ${{needs.Tags.outputs.pkg_version}} bionic ${{needs.Tags.outputs.time}} ${{needs.Tags.outputs.sha}} ${{needs.Tags.outputs.runid}} | ||
# | ||
# SCRIPT_DIR: .github/workflows/debian | ||
# steps: | ||
# | ||
# - name: Checkout the repository | ||
# uses: actions/checkout@v2 | ||
# | ||
# - name: Update the submodules | ||
# run: git submodule update --init | ||
# | ||
# - name: Create the package | ||
# run: | | ||
# cp -r . /tmp/cbmc-${CBMC_VERSION} | ||
# cp ${SCRIPT_DIR}/Makefile ${SCRIPT_DIR}/changelog ${SCRIPT_DIR}/surefire ${SCRIPT_DIR}/64bit_regression_tests.patch /tmp | ||
# make -C /tmp GITHUB=1 STABLE= CBMC_VERSION=${CBMC_VERSION} PKG_VERSION=${PKG_VERSION} | ||
# mv /tmp/*.deb ${PACKAGE_LATEST_NAME} | ||
# | ||
# - name: Upload the package | ||
# uses: actions/upload-artifact@v1 | ||
# with: | ||
# name: ${{ env.ARTIFACT_LATEST_NAME }} | ||
# path: ${{ env.PACKAGE_LATEST_NAME }} | ||
|
||
MacOS: | ||
name: MacOS packages | ||
|
@@ -242,19 +242,19 @@ jobs: | |
run: | | ||
make -f ${SCRIPT_DIR}/Makefile | ||
mv cbmc.tar.gz ${PACKAGE_STABLE_NAME} | ||
mv cbmc-latest.tar.gz ${PACKAGE_LATEST_NAME} | ||
# mv cbmc-latest.tar.gz ${PACKAGE_LATEST_NAME} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also remove PACKAGE_LATEST_NAME environment variable above. |
||
|
||
- name: Upload the cbmc package | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{env.ARTIFACT_STABLE_NAME}} | ||
path: ${{env.PACKAGE_STABLE_NAME}} | ||
|
||
- name: Upload the cbmc-latest package | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{env.ARTIFACT_LATEST_NAME}} | ||
path: ${{env.PACKAGE_LATEST_NAME}} | ||
# - name: Upload the cbmc-latest package | ||
# uses: actions/upload-artifact@v1 | ||
# with: | ||
# name: ${{env.ARTIFACT_LATEST_NAME}} | ||
# path: ${{env.PACKAGE_LATEST_NAME}} | ||
|
||
VS2019: | ||
name: Windows VS2019 installers | ||
|
@@ -298,18 +298,18 @@ jobs: | |
run: | | ||
${{env.SCRIPT_DIR}}\build-installer.bat cbmc && move cbmc.msi ${{env.PACKAGE_STABLE_NAME}} | ||
|
||
- name: Build the latest installer | ||
run: | | ||
${{env.SCRIPT_DIR}}\build-installer.bat cbmc-latest && move cbmc-latest.msi ${{env.PACKAGE_LATEST_NAME}} | ||
# - name: Build the latest installer | ||
# run: | | ||
# ${{env.SCRIPT_DIR}}\build-installer.bat cbmc-latest && move cbmc-latest.msi ${{env.PACKAGE_LATEST_NAME}} | ||
|
||
- name: Upload the cbmc installer | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{env.ARTIFACT_STABLE_NAME}} | ||
path: ${{env.PACKAGE_STABLE_NAME}} | ||
|
||
- name: Upload the cbmc-latest installer | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: ${{env.ARTIFACT_LATEST_NAME}} | ||
path: ${{env.PACKAGE_LATEST_NAME}} | ||
# - name: Upload the cbmc-latest installer | ||
# uses: actions/upload-artifact@v1 | ||
# with: | ||
# name: ${{env.ARTIFACT_LATEST_NAME}} | ||
# path: ${{env.PACKAGE_LATEST_NAME}} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply get rid of the commented lines?