Configure GitHub Actions workflow to use Clang compiler
All checks were successful
Build / build (push) Successful in 58s
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:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -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: |
|
||||
|
Reference in New Issue
Block a user