-
Notifications
You must be signed in to change notification settings - Fork 280
Remove Ubuntu-18.04 jobs since github deprecated them #7657
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
Changes from all commits
Commits
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
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 |
---|---|---|
|
@@ -149,93 +149,6 @@ jobs: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
SLACK_MESSAGE: "${{ job.status == 'success' && 'Ubuntu 20.04 package built and uploaded successfully' || 'Ubuntu 20.04 package build failed' }}" | ||
|
||
ubuntu-18_04-package: | ||
runs-on: ubuntu-18.04 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: Fetch dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --no-install-recommends -y g++ gdb flex bison cmake ninja-build maven jq libxml2-utils dpkg-dev ccache | ||
# remove libgcc-s1, which isn't normally available in Ubuntu 18.04 | ||
target=$(dpkg-query -W --showformat='${Version}\n' gcc-8-base | head -n 1) | ||
# libgcc1 uses an epoch, thus the extra 1: | ||
sudo apt-get install -y --allow-downgrades --reinstall gcc g++ libgcc-s1- libstdc++6=$target liblsan0=$target libtsan0=$target libcc1-0=$target libgcc1=1:$target gdb=8.1.1-0ubuntu1 | ||
- name: Download z3 4.11.0 from the python wheel package, extract it and make sure it can be deployed | ||
run: | | ||
sudo apt-get install --no-install-recommends -y unzip | ||
# download the z3 python wheel package | ||
wget -O z3.4.11.0.whl https://github.com/Z3Prover/z3/releases/download/z3-4.11.0/z3_solver-4.11.0.0-py2.py3-none-manylinux1_x86_64.whl | ||
# unpack the bundle using python | ||
unzip z3.4.11.0.whl | ||
# make z3 executable and move it in /usr/local/bin | ||
chmod u+x ./z3_solver-4.11.0.0.data/data/bin/z3 | ||
mv ./z3_solver-4.11.0.0.data/data/bin/z3 /usr/local/bin/ | ||
z3 --version | ||
- name: Download cvc-5 from the releases page and make sure it can be deployed | ||
run: | | ||
wget -O cvc5 https://github.com/cvc5/cvc5/releases/download/cvc5-${{env.cvc5-version}}/cvc5-Linux | ||
chmod u+x cvc5 | ||
mv cvc5 /usr/local/bin | ||
cvc5 --version | ||
- name: Prepare ccache | ||
uses: actions/cache@v3 | ||
with: | ||
path: .ccache | ||
key: ${{ runner.os }}-18.04-Release-${{ github.ref }}-${{ github.sha }}-RELEASEPKG | ||
restore-keys: | | ||
${{ runner.os }}-18.04-Release-${{ github.ref }} | ||
${{ runner.os }}-18.04-Release | ||
- name: ccache environment | ||
run: | | ||
echo "CCACHE_BASEDIR=$PWD" >> $GITHUB_ENV | ||
echo "CCACHE_DIR=$PWD/.ccache" >> $GITHUB_ENV | ||
- name: Configure CMake | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release -Dsat_impl="minisat2;cadical" | ||
- name: Zero ccache stats and limit in size | ||
run: ccache -z --max-size=500M | ||
- name: Build using Ninja | ||
run: ninja -C build -j2 | ||
- name: Print ccache stats | ||
run: ccache -s | ||
- name: Run CTest | ||
run: cd build; ctest . -V -L CORE -C Release -j2 | ||
- name: Create packages | ||
id: create_packages | ||
run: | | ||
cd build | ||
ninja package | ||
deb_package_name="$(ls *.deb)" | ||
echo "deb_package=./build/$deb_package_name" >> $GITHUB_OUTPUT | ||
echo "deb_package_name=ubuntu-18.04-$deb_package_name" >> $GITHUB_OUTPUT | ||
- name: Get release info | ||
id: get_release_info | ||
uses: bruceadams/[email protected] | ||
- name: Upload binary packages | ||
uses: actions/upload-release-asset@v1 | ||
with: | ||
upload_url: ${{ steps.get_release_info.outputs.upload_url }} | ||
asset_path: ${{ steps.create_packages.outputs.deb_package }} | ||
asset_name: ${{ steps.create_packages.outputs.deb_package_name }} | ||
asset_content_type: application/x-deb | ||
- name: Slack notification of CI status | ||
uses: rtCamp/action-slack-notify@v2 | ||
if: success() || failure() | ||
env: | ||
SLACK_CHANNEL: team_open_source | ||
SLACK_COLOR: ${{ job.status }} | ||
SLACK_USERNAME: Github Actions CI bot | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | ||
SLACK_MESSAGE: "${{ job.status == 'success' && 'Ubuntu 18.04 package built and uploaded successfully' || 'Ubuntu 18.04 package build failed' }}" | ||
|
||
|
||
homebrew-pr: | ||
runs-on: macos-11 | ||
steps: | ||
|
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.
This change overshot slightly - we shouldn't delete the headers or the instruction text, just the
dpkg
instructions for Ubuntu 18.