Skip to content

Commit cc60505

Browse files
author
Jonathan Gopel
committed
🆕 [CI] Use ubuntu-16.04 to test g++-4.8
Problem: - The `g++-4.8` test is to ensure compatibility as far back as possible, but it is be possible to be compatible back to a previous OS and that isn't configured. Solution: - Set the OS per compiler being tested. All compilers stay on `ubuntu-18.04` except for `g++-4.8`, which uses the oldest available OS - `ubuntu-16.04`.
1 parent cddc7ea commit cc60505

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/linux.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-18.04
7+
runs-on: ${{matrix.os}}
88
strategy:
99
matrix:
1010
cxx: [g++-4.8, g++-8, g++-10, clang++-9]
@@ -13,7 +13,14 @@ jobs:
1313
std: [11]
1414
include:
1515
- cxx: g++-4.8
16+
os: ubuntu-16.04
1617
install: sudo apt install g++-4.8
18+
- cxx: g++-8
19+
os: ubuntu-18.04
20+
- cxx: g++-10
21+
os: ubuntu-18.04
22+
- cxx: clang++-9
23+
os: ubuntu-18.04
1724
- cxx: clang++-9
1825
build_type: Debug
1926
fuzz: -DFMT_FUZZ=ON -DFMT_FUZZ_LINKMAIN=ON

0 commit comments

Comments
 (0)