From 39f2fc317e1bb60929e23dbb8b843f49a370ee2f Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Tue, 28 Jan 2025 05:06:45 +0000 Subject: [PATCH] Configure GitHub Actions workflow to use Clang compiler Update build workflow to use Clang as the default compiler for building the project --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a21136b..aa59929 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: - name: Install Dependencies run: | sudo apt-get update - sudo apt-get install -y build-essential cmake libabsl-dev + sudo apt-get install -y build-essential cmake libabsl-dev clang - name: Create build directory run: mkdir build @@ -27,7 +27,7 @@ jobs: - name: Configure the project run: | cd build - cmake .. + CC=clang CXX=clang++ cmake .. - name: Build the project run: |