File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 18
18
target :
19
19
- os : linux
20
20
cpu : amd64
21
+ - os : linux-gcc-14 # This is to use ubuntu 24 and install gcc 14. Should be removed when ubuntu-latest is 26.04
22
+ cpu : amd64
21
23
- os : linux
22
24
cpu : i386
23
25
- os : macos
@@ -26,12 +28,16 @@ jobs:
26
28
cpu : arm64
27
29
- os : windows
28
30
cpu : amd64
29
- branch : [version-1-6 , version-2-0 , devel]
31
+ branch : [version-2-0 , version-2-2 , devel]
30
32
include :
31
33
- target :
32
34
os : linux
33
35
builder : ubuntu-latest
34
36
shell : bash
37
+ - target :
38
+ os : linux-gcc-14 # This is to use ubuntu 24 and install gcc 14. Should be removed when ubuntu-latest is 26.04
39
+ builder : ubuntu-24.04
40
+ shell : bash
35
41
- target :
36
42
os : macos
37
43
cpu : amd64
@@ -175,6 +181,15 @@ jobs:
175
181
fi
176
182
cp libsnappy.a ../../
177
183
184
+ - name : Use gcc 14
185
+ # Should be removed when ubuntu-latest is 26.04
186
+ if : ${{ matrix.target.os == 'linux-gcc-14' }}
187
+ run : |
188
+ # Add GCC-14 to alternatives
189
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14
190
+ # Set GCC-14 as the default
191
+ sudo update-alternatives --set gcc /usr/bin/gcc-14
192
+
178
193
- name : Run tests
179
194
run : |
180
195
if [[ "${{ matrix.target.os }}" == "windows" ]]; then
@@ -183,6 +198,7 @@ jobs:
183
198
fi
184
199
nim --version
185
200
nimble --version
201
+ gcc --version
186
202
nimble install -y --depsOnly
187
203
env NIMLANG=c nimble test
188
204
env NIMLANG=cpp nimble test
You can’t perform that action at this time.
0 commit comments