Update workflow #32
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
name: Clang | |
on: | |
push: | |
branches: | |
- master # Trigger on push | |
pull_request: | |
branches: | |
- master # Trigger on pull | |
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++ # 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 |