Fix compatibility with GCC 4.8

Closes #2045
This commit is contained in:
Benoit Blanchon
2024-02-01 21:37:45 +01:00
parent c98b05e207
commit 72642e3090
9 changed files with 50 additions and 9 deletions

View File

@ -33,6 +33,7 @@ jobs:
fail-fast: false
matrix:
include:
- gcc: "4.8"
- gcc: "5"
- gcc: "6"
- gcc: "7"
@ -49,6 +50,7 @@ jobs:
- name: Install
run: |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 3B4FE6ACC0B21F32
sudo add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ xenial main universe'
sudo add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ bionic main universe'
sudo add-apt-repository -yn 'deb http://archive.ubuntu.com/ubuntu/ focal main universe'
sudo apt-get update