diff --git a/.gitea/workflows/rh8-native.yml b/.gitea/workflows/rh8-native.yml index 92eecaac0..b74ac9373 100644 --- a/.gitea/workflows/rh8-native.yml +++ b/.gitea/workflows/rh8-native.yml @@ -15,12 +15,8 @@ jobs: steps: # workaround until actions/checkout@v4 is available for RH8 # - uses: actions/checkout@v4 - - name: Clone repository - run: | - echo Cloning ${{ github.ref_name }} - git clone https://${{secrets.GITHUB_TOKEN}}@gitea.psi.ch/${{ github.repository }}.git --branch=${{ github.ref_name }} . - - + steps: + - uses: actions/checkout@v3 - name: Build library run: | diff --git a/.gitea/workflows/rh9-native.yml b/.gitea/workflows/rh9-native.yml index f13fb37fd..3b1c39736 100644 --- a/.gitea/workflows/rh9-native.yml +++ b/.gitea/workflows/rh9-native.yml @@ -19,6 +19,9 @@ jobs: - name: Build library run: | mkdir build && cd build - cmake .. + cmake .. -DAARE_PYTHON_BINDINGS=ON -DAARE_TESTS=ON -DPython_FIND_VIRTUALENV=FIRST make -j 2 + - name: C++ unit tests + working-directory: ${{gitea.workspace}}/build + run: ctest \ No newline at end of file