aare/.gitea/workflows/rh8-native.yml
froejdh_e 4c789507e5
Some checks failed
Build on RHEL8 / build (push) Failing after 1s
Build on RHEL9 / build (push) Successful in 1m47s
fixed typo
2025-04-10 08:20:54 +02:00

31 lines
649 B
YAML

name: Build on RHEL8
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
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