Skip to content

Update workflow

Update workflow #4

Workflow file for this run

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 CMake
# uses: actions/setup-cmake@v3 # Set up CMake
#- name: Set up GCC
# uses: actions/setup-gcc@v1 # Set up GCC compiler (or use setup-clang if needed)
- 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