From a3c3bd345241fa452a6708858e422b349ac61845 Mon Sep 17 00:00:00 2001 From: Jacyking <791026912@qq.com> Date: Mon, 8 Apr 2024 17:36:09 +0800 Subject: [PATCH] fix pg complier error on clang --- .github/workflows/ci-pgsql.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-pgsql.yml b/.github/workflows/ci-pgsql.yml index f581a6d0..d873b3a2 100644 --- a/.github/workflows/ci-pgsql.yml +++ b/.github/workflows/ci-pgsql.yml @@ -11,16 +11,17 @@ jobs: strategy: fail-fast: false matrix: + compiler: [ gcc, clang ] configuration: [ Debug, Release ] os: [ ubuntu-latest ] # macos-latest, ubuntu-latest, windows-latest include: - os: ubuntu-latest compiler: gcc - cc: g++ + cc: gcc cxx: g++ - os: ubuntu-latest compiler: clang - cc: clang++ + cc: clang cxx: clang++ services: