Pascal Serrarens afd5d1189b
Some checks are pending
Build and Run C++ Unit Tests / build-and-test (push) Waiting to run
changes job runs on self-hosted
2025-12-19 11:34:02 +01:00

35 lines
685 B
YAML

name: Build and Run C++ Unit Tests
on:
push:
branches:
- CI
pull_request:
branches:
- CI
jobs:
build-and-test:
runs-on: self-hosted
steps:
- name: Checkout code
uses: actions/checkout@v2
# - name: Install Dependencies
# run: |
# apt-get update
# apt-get install -y cmake git unzip # 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