Skip to content

Commit

Permalink
Fix build issue on Ubuntu 24.04
Browse files Browse the repository at this point in the history
Fixes #833

Update workflow and documentation to address build issues on Ubuntu 24.04.

* **README.md**
  - Add a note to use Ubuntu 22.04 as a temporary fix for build issues on Ubuntu 24.04.
  - Mention the issue related to the GitHub Actions runner update.

* **.github/workflows/c-cpp.yml**
  - Change `runs-on` from `ubuntu-latest` to `ubuntu-22.04` for the job `build_on_ubuntu_boost_183_gcc_x86`.

* **Dockerfile**
  - Update base image from `ubuntu:jammy` to `ubuntu:22.04`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/COVESA/vsomeip/issues/833?shareId=XXXX-XXXX-XXXX-XXXX).
  • Loading branch information
Setland34 committed Jan 12, 2025
1 parent 555b980 commit 5f755e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build_on_ubuntu_boost_183_gcc_x86:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Ubuntu - Install boost 1.83.0 with gcc and x86
uses: MarkusJx/install-boost@v2.4.4
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy
FROM ubuntu:22.04
SHELL ["/bin/bash", "-xec"]
RUN export DEBIAN_FRONTEND=noninteractive;\
apt-get update;\
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ cmake -DENABLE_SIGNAL_HANDLING=1 ..
```
In the default setting, the application has to take care of shutting down vSomeIP in case these signals are received.

###### Note on Ubuntu 24.04 Build Issues

If you encounter build issues on Ubuntu 24.04, consider using Ubuntu 22.04 as a temporary fix. This is due to the ongoing transition of the GitHub Actions runner to Ubuntu 24.04, which may cause compatibility issues.

##### Build Instructions for Android

Expand Down

0 comments on commit 5f755e9

Please sign in to comment.