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