Skip to content

Commit

Permalink
Add GCC 5 and GCC 6 to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dimztimz authored and horenmar committed Sep 15, 2022
1 parent 359542d commit c754308
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/linux-simple-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
strategy:
matrix:
cxx:
# - g++-6
- g++-5
- g++-6
- g++-7
- g++-8
- g++-9
Expand All @@ -22,9 +23,10 @@ jobs:
build_type: [Debug, Release]
std: [14]
include:
# cannot be installed on ubuntu-20.04 be default?
# - cxx: g++-6
# other_pkgs: g++-6
- cxx: g++-5
other_pkgs: g++-5
- cxx: g++-6
other_pkgs: g++-6
- cxx: g++-7
other_pkgs: g++-7
- cxx: g++-8
Expand Down Expand Up @@ -67,6 +69,12 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Add repositories for older GCC
run: |
sudo apt-add-repository 'deb http://azure.archive.ubuntu.com/ubuntu/ bionic main'
sudo apt-add-repository 'deb http://azure.archive.ubuntu.com/ubuntu/ bionic universe'
if: ${{ matrix.cxx == 'g++-5' || matrix.cxx == 'g++-6' }}

- name: Prepare environment
run: sudo apt-get install -y ninja-build ${{matrix.other_pkgs}}

Expand Down

0 comments on commit c754308

Please sign in to comment.