boostorg / gil

Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80
https://boostorg.github.io/gil
Boost Software License 1.0
178 stars 164 forks source link

ci: replace Ubuntu 18.04 on GHA with Ubuntu 20.04 #716

Closed striezel closed 2 years ago

striezel commented 2 years ago

Description

GitHub started the deprecation process for Ubuntu 18.04 Action runners on 2022-08-08, and Ubuntu 18.04 will be completely unsupported by 2022-12-01 (if things proceed as planned).

So this PR tries to replace all Ubuntu 18.04 runners with the next newest Ubuntu 20.04 runner. I don't think this will work on first try, but we need to start somewhere.

So this commit replace those Ubuntu 18.04 jobs with the next newest Ubuntu 20.04 runner that have shown to still work with the newer version. The other five GHA jobs with Ubuntu 18.04 (gcc-6, gcc-7, clang++-3.9, clang++-4.0, clang++-5.0) still need to be dealt with separately later.

References

See https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/ for the deprecation announcement and more information on that.

Tasklist

striezel commented 2 years ago

(Note for myself) Status so far:

Failed jobs due to compiler package not being available on Ubuntu 20.04:

That's five out of the ten changed build jobs. The other jobs may possibly run just fine on Ubuntu 20.04, and if those succeed, then I may possibly update this PR for those remaining jobs that succeeded.

The MacOS 10.15 failure on Azure Pipelines is unrelated. It happened due to a scheduled "brownout" of MacOS 10.15.

striezel commented 2 years ago

@mloskot: This PR is now ready for review.