diff options
| author | Dimitrij Mijoski | 2022-09-14 21:12:42 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2022-09-15 13:40:16 +0200 |
| commit | c75430834df6bbde9cfe7962c7dc38fd0bb0c030 (patch) | |
| tree | db74d21e3bf4301242a481f193b88ed49027fc2d | |
| parent | 359542d53ec142514da8a606ada8d9efd13b9678 (diff) | |
| download | catch3-c75430834df6bbde9cfe7962c7dc38fd0bb0c030.tar.gz | |
Add GCC 5 and GCC 6 to CI
| -rw-r--r-- | .github/workflows/linux-simple-builds.yml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/.github/workflows/linux-simple-builds.yml b/.github/workflows/linux-simple-builds.yml index d7d4bb07..5017e8fa 100644 --- a/.github/workflows/linux-simple-builds.yml +++ b/.github/workflows/linux-simple-builds.yml @@ -9,7 +9,8 @@ jobs: strategy: matrix: cxx: -# - g++-6 + - g++-5 + - g++-6 - g++-7 - g++-8 - g++-9 @@ -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 @@ -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}} |