@@ -10,12 +10,13 @@ jobs:
10
10
runs-on : ubuntu-22.04
11
11
strategy :
12
12
matrix :
13
- cxx : [g++-4.9, g++-11, clang++-11]
13
+ cxx : [g++-4.9, g++-11, clang++-3.6, clang++- 11]
14
14
build_type : [Debug, Release]
15
15
std : [11]
16
16
shared : [""]
17
17
include :
18
18
- cxx : g++-4.9
19
+ - cxx : clang++-3.6
19
20
- cxx : g++-11
20
21
build_type : Debug
21
22
std : 14
@@ -66,29 +67,65 @@ jobs:
66
67
# https://launchpad.net/ubuntu/xenial/amd64/g++-4.9/4.9.3-13ubuntu2
67
68
wget --no-verbose \
68
69
http://launchpadlibrarian.net/230069137/libmpfr4_3.1.3-2_amd64.deb \
69
- http://launchpadlibrarian.net/253728314/gcc-4.9-base_4.9.3-13ubuntu2_amd64.deb \
70
- http://launchpadlibrarian.net/445345919/gcc-5-base_5.4.0-6ubuntu1~16.04.12_amd64.deb \
71
- http://launchpadlibrarian.net/253728399/cpp-4.9_4.9.3-13ubuntu2_amd64.deb \
72
70
http://launchpadlibrarian.net/253728424/libasan1_4.9.3-13ubuntu2_amd64.deb \
73
71
http://launchpadlibrarian.net/445346135/libubsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb \
74
72
http://launchpadlibrarian.net/445346112/libcilkrts5_5.4.0-6ubuntu1~16.04.12_amd64.deb \
75
73
http://launchpadlibrarian.net/253728426/libgcc-4.9-dev_4.9.3-13ubuntu2_amd64.deb \
76
- http://launchpadlibrarian.net/253728404/gcc-4.9_4.9.3-13ubuntu2_amd64.deb \
77
74
http://launchpadlibrarian.net/253728432/libstdc++-4.9-dev_4.9.3-13ubuntu2_amd64.deb \
75
+ http://launchpadlibrarian.net/253728314/gcc-4.9-base_4.9.3-13ubuntu2_amd64.deb \
76
+ http://launchpadlibrarian.net/445345919/gcc-5-base_5.4.0-6ubuntu1~16.04.12_amd64.deb \
77
+ http://launchpadlibrarian.net/253728399/cpp-4.9_4.9.3-13ubuntu2_amd64.deb \
78
+ http://launchpadlibrarian.net/253728404/gcc-4.9_4.9.3-13ubuntu2_amd64.deb \
78
79
http://launchpadlibrarian.net/253728401/g++-4.9_4.9.3-13ubuntu2_amd64.deb
79
- sudo dpkg -i libmpfr4_3.1.3-2_amd64.deb \
80
- gcc-4.9-base_4.9.3-13ubuntu2_amd64.deb \
81
- gcc-5-base_5.4.0-6ubuntu1~16.04.12_amd64.deb \
82
- cpp-4.9_4.9.3-13ubuntu2_amd64.deb \
80
+ sudo dpkg -i \
81
+ libmpfr4_3.1.3-2_amd64.deb \
83
82
libasan1_4.9.3-13ubuntu2_amd64.deb \
84
83
libubsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb \
85
84
libcilkrts5_5.4.0-6ubuntu1~16.04.12_amd64.deb \
86
85
libgcc-4.9-dev_4.9.3-13ubuntu2_amd64.deb \
87
- gcc-4.9_4.9.3-13ubuntu2_amd64.deb \
88
86
libstdc++-4.9-dev_4.9.3-13ubuntu2_amd64.deb \
87
+ gcc-4.9-base_4.9.3-13ubuntu2_amd64.deb \
88
+ gcc-5-base_5.4.0-6ubuntu1~16.04.12_amd64.deb \
89
+ cpp-4.9_4.9.3-13ubuntu2_amd64.deb \
90
+ gcc-4.9_4.9.3-13ubuntu2_amd64.deb \
89
91
g++-4.9_4.9.3-13ubuntu2_amd64.deb
90
92
if : ${{ matrix.cxx == 'g++-4.9' }}
91
93
94
+ - name : Install Clang 3.6
95
+ run : |
96
+ sudo apt update
97
+ sudo apt install libtinfo5 libobjc4
98
+ # https://code.launchpad.net/ubuntu/xenial/amd64/clang-3.6/1:3.6.2-3ubuntu2
99
+ wget --no-verbose \
100
+ http://launchpadlibrarian.net/230019046/libffi6_3.2.1-4_amd64.deb \
101
+ http://launchpadlibrarian.net/445346109/libasan2_5.4.0-6ubuntu1~16.04.12_amd64.deb \
102
+ http://launchpadlibrarian.net/445346135/libubsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb \
103
+ http://launchpadlibrarian.net/445346112/libcilkrts5_5.4.0-6ubuntu1~16.04.12_amd64.deb \
104
+ http://launchpadlibrarian.net/445346128/libmpx0_5.4.0-6ubuntu1~16.04.12_amd64.deb \
105
+ http://launchpadlibrarian.net/445346113/libgcc-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb \
106
+ http://launchpadlibrarian.net/445346131/libstdc++-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb \
107
+ http://launchpadlibrarian.net/445346022/libobjc-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb \
108
+ http://launchpadlibrarian.net/254405108/libllvm3.6v5_3.6.2-3ubuntu2_amd64.deb \
109
+ http://launchpadlibrarian.net/254405097/libclang-common-3.6-dev_3.6.2-3ubuntu2_amd64.deb \
110
+ http://launchpadlibrarian.net/254405101/libclang1-3.6_3.6.2-3ubuntu2_amd64.deb \
111
+ http://launchpadlibrarian.net/445345919/gcc-5-base_5.4.0-6ubuntu1~16.04.12_amd64.deb \
112
+ http://launchpadlibrarian.net/254405091/clang-3.6_3.6.2-3ubuntu2_amd64.deb
113
+ sudo dpkg -i \
114
+ libffi6_3.2.1-4_amd64.deb \
115
+ libasan2_5.4.0-6ubuntu1~16.04.12_amd64.deb \
116
+ libubsan0_5.4.0-6ubuntu1~16.04.12_amd64.deb \
117
+ libcilkrts5_5.4.0-6ubuntu1~16.04.12_amd64.deb \
118
+ libmpx0_5.4.0-6ubuntu1~16.04.12_amd64.deb \
119
+ libgcc-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb \
120
+ libstdc++-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb \
121
+ libobjc-5-dev_5.4.0-6ubuntu1~16.04.12_amd64.deb \
122
+ libllvm3.6v5_3.6.2-3ubuntu2_amd64.deb \
123
+ libclang-common-3.6-dev_3.6.2-3ubuntu2_amd64.deb \
124
+ libclang1-3.6_3.6.2-3ubuntu2_amd64.deb \
125
+ gcc-5-base_5.4.0-6ubuntu1~16.04.12_amd64.deb \
126
+ clang-3.6_3.6.2-3ubuntu2_amd64.deb
127
+ if : ${{ matrix.cxx == 'clang++-3.6' }}
128
+
92
129
- name : Add repositories for newer GCC
93
130
run : |
94
131
sudo apt-add-repository ppa:ubuntu-toolchain-r/test
@@ -102,9 +139,9 @@ jobs:
102
139
curl http://mirrors.ubuntu.com/mirrors.txt | sudo tee --append /etc/apt/mirrors.txt
103
140
sudo sed -i 's~http://azure.archive.ubuntu.com/ubuntu/~mirror+file:/etc/apt/mirrors.txt~' /etc/apt/sources.list
104
141
105
- - name : Create Build Environment
142
+ - name : Create build environment
106
143
run : |
107
- sudo apt update --allow-unauthenticated
144
+ sudo apt update
108
145
${{matrix.install}}
109
146
sudo apt install locales-all
110
147
cmake -E make_directory ${{runner.workspace}}/build
@@ -115,10 +152,12 @@ jobs:
115
152
CXX : ${{matrix.cxx}}
116
153
CXXFLAGS : ${{matrix.cxxflags}}
117
154
run : |
118
- cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} ${{matrix.fuzz}} ${{matrix.shared}} \
119
- -DCMAKE_CXX_STANDARD=${{matrix.std}} -DFMT_DOC=OFF \
120
- -DCMAKE_CXX_VISIBILITY_PRESET=hidden -DCMAKE_VISIBILITY_INLINES_HIDDEN=ON \
121
- -DFMT_PEDANTIC=ON -DFMT_WERROR=ON $GITHUB_WORKSPACE
155
+ cmake -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
156
+ -DCMAKE_CXX_STANDARD=${{matrix.std}} \
157
+ -DCMAKE_CXX_VISIBILITY_PRESET=hidden \
158
+ -DCMAKE_VISIBILITY_INLINES_HIDDEN=ON \
159
+ -DFMT_DOC=OFF -DFMT_PEDANTIC=ON -DFMT_WERROR=ON \
160
+ ${{matrix.fuzz}} ${{matrix.shared}} $GITHUB_WORKSPACE
122
161
123
162
- name : Build
124
163
working-directory : ${{runner.workspace}}/build
0 commit comments