Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
endurodave committed Dec 8, 2024
1 parent 97e014a commit 8372aca
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/cpp_delegates.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: C++ Delegates Build and Test

on:
push:
branches:
- wip/refactoring # Trigger on push to main branch
pull_request:
branches:
- wip/refactoring # Trigger on pull request targeting main 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: Set up C++ compiler
uses: actions/setup-cpp@v2 # Set up C++ compiler (GCC or Clang)

- name: Configure CMake
run: cmake -S . -B Build # Configure CMake to generate build files in 'Build' directory

- name: Build
run: cmake --build Build # Build the project using CMake

- name: Run DelegateApp
run: ./Build/DelegateApp # Run the built executable

0 comments on commit 8372aca

Please sign in to comment.