Run unit tests with gcc 7 too (#2706)

This commit is contained in:
Davis E. King 2023-01-03 10:13:54 -05:00 committed by GitHub
parent a12824d425
commit 1ce7b9cbc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -56,6 +56,26 @@ jobs:
- name: Build examples, etc
run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --parallel 2
ubuntu-18_04-gcc-7:
runs-on: 'ubuntu-18.04'
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo apt update
sudo apt install libwebp-dev
- name: Install gcc 7
run: |
sudo apt install gcc-7 g++-7
- name: Configure
run: cmake ${{ github.workspace }}/dlib/test -B ${{ env.build_dir }}
- name: Build just tests
run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --target dtest --parallel 4
- name: Test
run: ${{ env.build_dir }}/dtest --runall -q
- name: Build examples, etc
run: cmake --build ${{ env.build_dir }} --config ${{ env.config }} --parallel 2
ubuntu-latest-clang-default:
runs-on: 'ubuntu-latest'
steps: