From 3b2e48a278da23a06eaf4622ca422ccb31ebd039 Mon Sep 17 00:00:00 2001 From: Davis King Date: Tue, 4 Apr 2023 08:17:28 -0400 Subject: [PATCH] make it really use gcc 7 --- .github/workflows/build_cpp.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_cpp.yml b/.github/workflows/build_cpp.yml index a59f902dc..2bd1febf6 100644 --- a/.github/workflows/build_cpp.yml +++ b/.github/workflows/build_cpp.yml @@ -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