make it really use gcc 7

This commit is contained in:
Davis King 2023-04-04 08:17:28 -04:00
parent aac3ca8da1
commit 3b2e48a278
1 changed files with 4 additions and 1 deletions

View File

@ -138,7 +138,10 @@ jobs:
cd ..
- name: Configure
run: cmake ${{ github.workspace }}/dlib/test -B build -DCMAKE_PREFIX_PATH=/home/runner/ffmpeg-n3.2.18_installation
run: |
export CC=/usr/bin/gcc-7
export CXX=/usr/bin/g++-7
cmake ${{ github.workspace }}/dlib/test -B build -DCMAKE_PREFIX_PATH=/home/runner/ffmpeg-n3.2.18_installation
- name: Build just tests
run: cmake --build build --config Release --target dtest --parallel 4