Skip to content

Update main.cpp

Update main.cpp #3

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout code
- name: Install CMake
run: |
sudo apt-get update
sudo apt-get install -y cmake
- name: Configure CMake
run: cmake -S . -B build
- name: Build
run: cmake --build build
- name: Run tests
run: ctest --test-dir build
- name: Package
run: cpack --config build/CPackConfig.cmake