Merge remote-tracking branch 'origin/main'
Some checks failed
Run tests / Explore-Gitea-Actions (push) Failing after 45s
Build Docs With Doxygen / Explore-Gitea-Actions (push) Failing after 29s

This commit is contained in:
2024-05-22 20:13:01 -04:00

View File

@@ -0,0 +1,24 @@
name: Run tests
run-name: Run tests for ${{ gitea.repository }}.
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-22.04
steps:
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "The workflow is now ready to run your tests on the runner."
- run: echo "Installing cmake"
- run: apt-get update && apt-get install -y cmake
- run: echo "Build ${{ gitea.repository }}"
- run: mkdir build
- run: cd build && cmake ../
- run: cd build && make
- run: echo "Build and run ${{ gitea.repository }} test suite"
- run: cd build && make test
- run: echo "This job's status is ${{ job.status }}."