diff --git a/.github/workflows/build_cpp.yml b/.github/workflows/build_cpp.yml index 7afa10f11..ea6d8bed5 100644 --- a/.github/workflows/build_cpp.yml +++ b/.github/workflows/build_cpp.yml @@ -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: