Skip to content

Commit

Permalink
🆕 [CI] Use ubuntu-16.04 to test g++-4.8
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
Jonathan Gopel committed Nov 14, 2020
1 parent cddc7ea commit cc60505
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ${{matrix.os}}
strategy:
matrix:
cxx: [g++-4.8, g++-8, g++-10, clang++-9]
Expand All @@ -13,7 +13,14 @@ jobs:
std: [11]
include:
- cxx: g++-4.8
os: ubuntu-16.04
install: sudo apt install g++-4.8
- cxx: g++-8
os: ubuntu-18.04
- cxx: g++-10
os: ubuntu-18.04
- cxx: clang++-9
os: ubuntu-18.04
- cxx: clang++-9
build_type: Debug
fuzz: -DFMT_FUZZ=ON -DFMT_FUZZ_LINKMAIN=ON
Expand Down

0 comments on commit cc60505

Please sign in to comment.