Skip to content

WIP

WIP #2

Workflow file for this run

name: C++ CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the code
- name: Checkout code
uses: actions/checkout@v3
# Step 2: Install CMake and dependencies
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y cmake g++
# Step 3: Configure the project with CMake
- name: Configure CMake
run: cmake -B build -S .
# Step 4: Build the project
- name: Build project
run: cmake --build build
# Step 5: Run the application (optional)
- name: Run tests (or main app)
run: ./build/problems/max_unique_split && ./build/arrays/array # todo