Skip to content
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

Update Ubuntu version in ci to Ubuntu 24.04 #567

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-22.04, macos-latest, windows-2025]
os: [ubuntu-24.04, macos-latest, windows-2025]
clang_version: [10.0.0]
# use different LLVM versions among oses because of the lack of
# official assets on github.
include:
- os: ubuntu-22.04
- os: ubuntu-24.04
clang_version: 10.0.0
llvm_asset_suffix: x86_64-linux-gnu-ubuntu-18.04
- os: macos-latest
clang_version: 10.0.0
llvm_asset_suffix: x86_64-apple-darwin
- os: windows-2025
clang_version: 10.0.0
- os: ubuntu-22.04
- os: ubuntu-24.04
clang_version: 16.0.0
llvm_asset_suffix: x86_64-linux-gnu-ubuntu-18.04
enable_pic: true
Expand All @@ -39,7 +39,14 @@ jobs:
run: |
set -ex
sudo apt-get update
sudo apt-get install -y libtinfo5
# Workaround to get libtinfo5 installed on Ubuntu 24.04 taken from
# https://askubuntu.com/questions/1531760/how-to-install-libtinfo5-on-ubuntu24-04
if [[ "${{ matrix.os }}" == *"24"* ]]; then
wget http://security.ubuntu.com/ubuntu/pool/universe/n/ncurses/libtinfo5_6.3-2ubuntu0.1_amd64.deb
sudo apt install ./libtinfo5_6.3-2ubuntu0.1_amd64.deb
else
sudo apt-get install -y libtinfo5
fi
if: startsWith(matrix.os, 'ubuntu-')

- name: Install LLVM tools (Windows)
Expand Down