@@ -7,54 +7,46 @@ permissions:
77
88jobs :
99 build :
10- runs-on : ubuntu-20 .04
10+ runs-on : ubuntu-22 .04
1111 strategy :
1212 matrix :
13- cxx : [g++-4.9, g++-10 , clang++-9 ]
13+ cxx : [g++-4.9, g++-11 , clang++-11 ]
1414 build_type : [Debug, Release]
1515 std : [11]
1616 shared : [""]
1717 include :
1818 - cxx : g++-4.9
19- install : sudo apt install g++-4.9
20- - cxx : g++-8
19+ - cxx : g++-11
2120 build_type : Debug
2221 std : 14
23- install : sudo apt install g++-8
24- - cxx : g++-8
25- build_type : Debug
26- std : 17
27- install : sudo apt install g++-8
28- - cxx : g++-9
29- build_type : Debug
30- std : 17
31- - cxx : g++-10
22+ install : sudo apt install g++-11
23+ - cxx : g++-11
3224 build_type : Debug
3325 std : 17
3426 - cxx : g++-11
3527 build_type : Debug
3628 std : 20
3729 install : sudo apt install g++-11
38- - cxx : clang++-8
30+ - cxx : clang++-11
3931 build_type : Debug
4032 std : 17
4133 cxxflags : -stdlib=libc++
42- install : sudo apt install clang-8 libc++-8 -dev libc++abi-8 -dev
43- - cxx : clang++-9
44- install : sudo apt install clang-9
45- - cxx : clang++-9
34+ install : sudo apt install clang-11 libc++-11 -dev libc++abi-11 -dev
35+ - cxx : clang++-11
36+ install : sudo apt install clang-11
37+ - cxx : clang++-11
4638 build_type : Debug
4739 fuzz : -DFMT_FUZZ=ON -DFMT_FUZZ_LINKMAIN=ON
4840 std : 17
49- install : sudo apt install clang-9
50- - cxx : clang++-11
41+ install : sudo apt install clang-11
42+ - cxx : clang++-13
5143 build_type : Debug
5244 std : 20
53- - cxx : clang++-11
45+ - cxx : clang++-13
5446 build_type : Debug
5547 std : 20
5648 cxxflags : -stdlib=libc++
57- install : sudo apt install libc++-11 -dev libc++abi-11 -dev
49+ install : sudo apt install libc++-13 -dev libc++abi-13 -dev
5850 - cxx : g++-13
5951 build_type : Release
6052 std : 23
@@ -67,11 +59,25 @@ jobs:
6759 - name : Set timezone
6860 run : sudo timedatectl set-timezone 'Asia/Yekaterinburg'
6961
70- - name : Add repositories for older GCC
62+ - name : Install GCC 4.9
7163 run : |
72- # Below repo provides GCC 4.9.
73- sudo apt-add-repository 'deb http://dk.archive.ubuntu.com/ubuntu/ xenial main'
74- sudo apt-add-repository 'deb http://dk.archive.ubuntu.com/ubuntu/ xenial universe'
64+ sudo apt update
65+ sudo apt install libmpc3 libatomic1 libgomp1 libitm1 libc6-dev
66+ wget \
67+ http://launchpadlibrarian.net/230069137/libmpfr4_3.1.3-2_amd64.deb \
68+ http://launchpadlibrarian.net/253728314/gcc-4.9-base_4.9.3-13ubuntu2_amd64.deb \
69+ http://launchpadlibrarian.net/253728399/cpp-4.9_4.9.3-13ubuntu2_amd64.deb \
70+ http://launchpadlibrarian.net/253728426/libgcc-4.9-dev_4.9.3-13ubuntu2_amd64.deb \
71+ http://launchpadlibrarian.net/253728404/gcc-4.9_4.9.3-13ubuntu2_amd64.deb \
72+ http://launchpadlibrarian.net/253728432/libstdc++-4.9-dev_4.9.3-13ubuntu2_amd64.deb \
73+ http://launchpadlibrarian.net/253728401/g++-4.9_4.9.3-13ubuntu2_amd64.deb
74+ sudo dpkg -i libmpfr4_3.1.4-1_amd64.deb \
75+ gcc-4.9-base_4.9.3-13ubuntu2_amd64.deb \
76+ cpp-4.9_4.9.3-13ubuntu2_amd64.deb \
77+ libgcc-4.9-dev_4.9.3-13ubuntu2_amd64.deb \
78+ gcc-4.9_4.9.3-13ubuntu2_amd64.deb \
79+ libstdc++-4.9-dev_4.9.3-13ubuntu2_amd64.deb \
80+ g++-4.9_4.9.3-13ubuntu2_amd64.deb
7581 if : ${{ matrix.cxx == 'g++-4.9' }}
7682
7783 - name : Add repositories for newer GCC
@@ -81,15 +87,15 @@ jobs:
8187
8288 - name : Add Ubuntu mirrors
8389 run : |
84- # Github Actions caching proxy is at times unreliable
90+ # GitHub Actions caching proxy is at times unreliable
8591 # see https://github.com/actions/runner-images/issues/7048
8692 printf 'http://azure.archive.ubuntu.com/ubuntu\tpriority:1\n' | sudo tee /etc/apt/mirrors.txt
8793 curl http://mirrors.ubuntu.com/mirrors.txt | sudo tee --append /etc/apt/mirrors.txt
8894 sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' /etc/apt/sources.list
8995
9096 - name : Create Build Environment
9197 run : |
92- sudo apt update
98+ sudo apt update --allow-unauthenticated
9399 ${{matrix.install}}
94100 sudo apt install locales-all
95101 cmake -E make_directory ${{runner.workspace}}/build
0 commit comments