Drop ubuntu-18.04 from the CI matrix
rollbear opened this issue · 3 comments
rollbear commented
Github actions is removing support for the ubuntu-18.04 image later this year. Unfortunately stepping up to 20.04 is not as straight forward as one would like. The older clang compilers are not readily available, and some gcc:s fail too.
offa commented
You can use containers which makes the build independed from host image:
[…]
container:
image: ${{ matrix.build_config.compiler == 'clang' && 'teeks99/clang-ubuntu' || matrix.build_config.compiler }}:${{ matrix.build_config.version }}
[…]
(Or set the image per build)
rollbear commented
Yes, I have just started to look into this. I think this is very promising.
rollbear commented
Done. Thanks again for the suggestion. It took some work, but the result is very nice.