Configure GitHub Actions workflow to use Clang compiler
All checks were successful
Build / build (push) Successful in 58s

Update build workflow to use Clang as the default compiler for building the project
This commit is contained in:
2025-01-28 05:06:45 +00:00
parent 69e26738f3
commit 39f2fc317e

View File

@@ -19,7 +19,7 @@ jobs:
- name: Install Dependencies - name: Install Dependencies
run: | run: |
sudo apt-get update 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 - name: Create build directory
run: mkdir build run: mkdir build
@@ -27,7 +27,7 @@ jobs:
- name: Configure the project - name: Configure the project
run: | run: |
cd build cd build
cmake .. CC=clang CXX=clang++ cmake ..
- name: Build the project - name: Build the project
run: | run: |