-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d51525c
commit 244639a
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Clang | ||
|
||
on: | ||
push: | ||
branches: | ||
- wip/refactoring # Trigger on push to 'wip/refactoring' branch | ||
pull_request: | ||
branches: | ||
- wip/refactoring # Trigger on pull request targeting 'wip/refactoring' branch | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest # Use Ubuntu environment for the build | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 # Checkout the repository code | ||
|
||
- name: Configure CMake with Clang | ||
run: cmake -S . -B Build -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DENABLE_UNIT_TESTS=ON # Configure CMake with Clang as the compiler | ||
|
||
- name: Build | ||
run: cmake --build Build # Build the project using CMake | ||
|
||
- name: Run DelegateApp | ||
run: ./Build/DelegateApp # Run the built executable |