Compare commits

..

6 Commits

Author SHA1 Message Date
5c6f1a4169 add install cmake to workflow
All checks were successful
Build and Run C++ Unit Tests / build-and-test (push) Successful in 2m33s
2025-12-19 11:48:37 +01:00
3775c79f84 runs on ubuntu-latest
Some checks failed
Build and Run C++ Unit Tests / build-and-test (push) Failing after 1m53s
2025-12-19 11:39:18 +01:00
ed94f09a9c runs-on linux...
Some checks are pending
Build and Run C++ Unit Tests / build-and-test (push) Waiting to run
2025-12-19 11:35:12 +01:00
afd5d1189b changes job runs on self-hosted
Some checks are pending
Build and Run C++ Unit Tests / build-and-test (push) Waiting to run
2025-12-19 11:34:02 +01:00
d2362eba15 Updated workflow
Some checks are pending
Build and Run C++ Unit Tests / build-and-test (push) Waiting to run
2025-12-19 11:24:25 +01:00
7bc4d571f4 Added initial workflow 2025-12-19 10:16:37 +01:00

View File

@ -0,0 +1,34 @@
name: Build and Run C++ Unit Tests
on:
push:
branches:
- CI
pull_request:
branches:
- CI
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