Pascal Serrarens a290e2e780
All checks were successful
Build and Run C++ Unit Tests / build-and-test (push) Successful in 2m4s
Make the workflow trigger on any branch
2025-12-19 12:47:55 +01:00

35 lines
672 B
YAML

name: Build and Run C++ Unit Tests
on:
push:
branches:
- '**'
pull_request:
branches:
- '**'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Dependencies
run: |
apt-get update
apt-get install -y cmake # Install required packages
- name: Build the Project
run: |
mkdir build
cd build
cmake ..
make # Build the LinearAlgebra library and tests
- name: Run Unit Tests
run: |
cd build
./LinearAlgebraTest # Execute the test binary