From 7bc4d571f475d0d165e806acfa5b3f9a040b9679 Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Fri, 19 Dec 2025 10:16:37 +0100 Subject: [PATCH] Added initial workflow --- .gitea/unit_tests.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/unit_tests.yml diff --git a/.gitea/unit_tests.yml b/.gitea/unit_tests.yml new file mode 100644 index 0000000..3113830 --- /dev/null +++ b/.gitea/unit_tests.yml @@ -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: gitea_runner_1 + + 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