From 5781a0ee2762add866ab6c444802bc7808036b56 Mon Sep 17 00:00:00 2001 From: froejdh_e Date: Wed, 16 Apr 2025 09:13:28 +0200 Subject: [PATCH] fix --- .gitea/workflows/rh9-detectors.yml | 27 +++++++++++++++++++++++++++ .gitea/workflows/rh9-images.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 .gitea/workflows/rh9-detectors.yml create mode 100644 .gitea/workflows/rh9-images.yml diff --git a/.gitea/workflows/rh9-detectors.yml b/.gitea/workflows/rh9-detectors.yml new file mode 100644 index 0000000..47c14bd --- /dev/null +++ b/.gitea/workflows/rh9-detectors.yml @@ -0,0 +1,27 @@ +name: Build on RHEL9 + +on: + push: + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: "ubuntu-latest" + container: + image: gitea.psi.ch/detectors-int/rhel9-detectors-dev + steps: + - uses: actions/checkout@v4 + + + - name: Build library + run: | + mkdir build && cd build + cmake .. + make -j 2 + + - name: C++ unit tests + working-directory: ${{gitea.workspace}}/build + run: ctest \ No newline at end of file diff --git a/.gitea/workflows/rh9-images.yml b/.gitea/workflows/rh9-images.yml new file mode 100644 index 0000000..0e60225 --- /dev/null +++ b/.gitea/workflows/rh9-images.yml @@ -0,0 +1,27 @@ +name: Build on RHEL9 using gitea.psi.ch/images/rhel9-developer-github-actions + +on: + push: + workflow_dispatch: + +permissions: + contents: read + +jobs: + build: + runs-on: "ubuntu-latest" + container: + image: gitea.psi.ch/images/rhel9-developer-github-actions + steps: + - uses: actions/checkout@v4 + + + - name: Build library + run: | + mkdir build && cd build + cmake .. + make -j 2 + + - name: C++ unit tests + working-directory: ${{gitea.workspace}}/build + run: ctest \ No newline at end of file