Skip to content

Commit c576d87

Browse files
committed
CI: Switch OpenTitan CI to run on Ubuntu 24.04
We are currently running the OpenTitan CI on Ubuntu 22.04 as that is what officially support according to https://opentitan.org/book/doc/getting_started/index.html. This commit switches to 24.04 to work out what needs to change to support the most recent LTS. Signed-off-by: Matthias J. Kannwischer <matthias@kannwischer.eu>
1 parent 4f13e12 commit c576d87

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/actions/setup-opentitan/action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,7 @@ runs:
3636
sudo apt update
3737
cd expo
3838
sed -e '/^#/d' -e '/libncursesw5/d' ./apt-requirements.txt | xargs sudo apt install -y
39-
# Install runtime dependencies needed by tools
40-
sudo apt install -y gcc g++ libtinfo5 srecord pkg-config libudev-dev libssl-dev \
41-
libftdi1-dev libelf-dev zlib1g-dev
42-
pip3 install --user -r python-requirements.txt --require-hashes
39+
pip3 install --user -r python-requirements.txt --require-hashes --break-system-packages
4340
4441
- name: Cache Verilator
4542
id: cache-verilator

.github/workflows/integration-opentitan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
env:
1212
AWS_ROLE: arn:aws:iam::559050233797:role/mlkem-c-aarch64-gh-action
1313
AWS_REGION: us-east-1
14-
AMI_UBUNTU_22_04_X86_64: ami-0bbdd8c17ed981ef9
14+
AMI_UBUNTU_24_04_X86_64: ami-0b6c6ebed2801a5cb
1515

1616
jobs:
1717
start-ec2-runner:
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
mode: start
4141
github-token: ${{ secrets.AWS_GITHUB_TOKEN }}
42-
ec2-image-id: ${{ env.AMI_UBUNTU_22_04_X86_64 }}
42+
ec2-image-id: ${{ env.AMI_UBUNTU_24_04_X86_64 }}
4343
ec2-instance-type: c7i.2xlarge
4444
ec2-volume-size: 32
4545
subnet-id: subnet-07b2729e5e065962f

0 commit comments

Comments
 (0)