gh-152785: [WIP] Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions#152717
gh-152785: [WIP] Upgrade Ubuntu from 24.04 to 26.04 in GitHub Actions#152717vstinner wants to merge 4 commits into
Conversation
|
"Check if generated files are up to date" job:
Later in the same job, |
|
(*) Address sanitizer (ubuntu-26.04): "Set up GCC-10 for ASAN" fails with (*) llvm.sh fails with
(*) Android (x86_64) fails with: |
It complains because it doesn't know |
|
Information on |
The job requires GCC 10 because in 2023, Ubuntu provided GCC 9 by default which had a bug with vfork(). This is no longer needed on Ubuntu 26.04. |
|
I modified Platforms/Android to run gradlew with Full error: DetailsSee yairm210/Unciv#14838 which seems to be similar. |
|
See https://github.com/orgs/community/discussions/160592 to select the JAVA_HOME env var. |
|
Summary:
|
|
This PR changes multiple things at once. I created other PRs to upgrade LLVM, GCC and Java to prepare this PR. See pull requests attached to #152785. |
|
Probably, with 26.04 you can remove libmpdec workaround from |
…ctions Update .github/actionlint.yaml to allow ubuntu-26.04 and ubuntu-26.04-arm images.
No longer install build+install libmpdec-dev from tarball.
ubuntu-latest is currently Ubuntu 24.04.
|
Currently, ubuntu-latest means Ubuntu 24.04. So I replaced @hugovk: Do we want to keep |
|
Ubuntu / build and test (ubuntu-24.04) => Ubuntu / build and test (ubuntu-26.04). Before => After:
|
Touch Python/getcompiler.c to trigger most GHA jobs.
This PR upgrades Ubuntu from 24.04 to 26.04 in GitHub Actions to check what breaks and to see if it would be possible to make some upgrade.