trompeloeil icon indicating copy to clipboard operation
trompeloeil copied to clipboard

Drop ubuntu-18.04 from the CI matrix

Open rollbear opened this issue 3 years ago • 2 comments

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.

rollbear avatar Sep 18 '22 11:09 rollbear

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)

offa avatar Sep 20 '22 11:09 offa

Yes, I have just started to look into this. I think this is very promising.

rollbear avatar Sep 20 '22 11:09 rollbear

Done. Thanks again for the suggestion. It took some work, but the result is very nice.

rollbear avatar Oct 24 '22 04:10 rollbear