Dev/gitea ci (#151)
All checks were successful
Build on RHEL9 / buildh (push) Successful in 1m41s

Build and test on internal PSI gitea
This commit is contained in:
Erik Fröjdh
2025-04-03 13:18:55 +02:00
committed by GitHub
parent 8cad7a50a6
commit 7db1ae4d94
5 changed files with 90 additions and 16 deletions

View File

@ -0,0 +1,30 @@
name: Build on RHEL8
on:
workflow_dispatch:
permissions:
contents: read
jobs:
buildh:
runs-on: "ubuntu-latest"
container:
image: gitea.psi.ch/images/rhel8-developer-gitea-actions
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
dnf install -y cmake python3.12 python3.12-devel python3.12-pip
- name: Build library
run: |
mkdir build && cd build
cmake .. -DAARE_PYTHON_BINDINGS=ON -DAARE_TESTS=ON
make -j 2
- name: C++ unit tests
working-directory: ${{gitea.workspace}}/build
run: ctest