From 58a967b0ca632c5277344bab97edc9d9c667c6b5 Mon Sep 17 00:00:00 2001 From: LIU Hao Date: Tue, 21 May 2024 09:17:57 +0800 Subject: [PATCH] ci: Fix macOS --- .github/workflows/c-cpp.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 3993a5d58..3e1f84726 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -69,10 +69,11 @@ jobs: - name: Install dependencies run: >- - brew install gcc@7 meson pkg-config libedit pcre2 openssl@3 - zlib libiconv + brew install gcc@12 meson pkg-config libedit pcre2 openssl zlib + libiconv - name: Run tests run: >- - CXX='g++-7' meson setup -Denable-debug-checks=true build_ci + export CC='gcc-12' CXX='g++-12'; + meson setup -Denable-debug-checks=true build_ci && meson test -Cbuild_ci