From ae0c1997efdee4fa9842178e5c6e3f57e99015e7 Mon Sep 17 00:00:00 2001 From: Filip Leonarski Date: Fri, 19 Sep 2025 19:36:46 +0200 Subject: [PATCH] CI: Minor adaptations for Gitea --- .gitea/workflows/build_and_test.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/build_and_test.yml b/.gitea/workflows/build_and_test.yml index a3b396d0..5f581402 100644 --- a/.gitea/workflows/build_and_test.yml +++ b/.gitea/workflows/build_and_test.yml @@ -19,22 +19,22 @@ jobs: include: - runner: jfjoch_rocky8 distro: rocky8 - cmake_flags: -DJFJOCH_INSTALL_DRIVER_SOURCE=ON -DJFJOCH_VIEWER_BUILD=ON + cmake_flags: -DJFJOCH_USE_CUDA=ON - runner: jfjoch_rocky8 distro: rocky8_sls9 - cmake_flags: -DJFJOCH_INSTALL_DRIVER_SOURCE=OFF -DJFJOCH_VIEWER_BUILD=OFF -DSLS9=ON + cmake_flags: -DJFJOCH_USE_CUDA=ON - runner: jfjoch_rocky9 distro: rocky9 - cmake_flags: -DJFJOCH_INSTALL_DRIVER_SOURCE=ON -DJFJOCH_VIEWER_BUILD=ON + cmake_flags: -DJFJOCH_USE_CUDA=ON - runner: jfjoch_ubuntu2204 distro: ubuntu2204 - cmake_flags: -DJFJOCH_INSTALL_DRIVER_SOURCE=ON -DJFJOCH_VIEWER_BUILD=ON + cmake_flags: -DJFJOCH_USE_CUDA=ON - runner: jfjoch_ubuntu2404 distro: ubuntu2404 - cmake_flags: -DJFJOCH_INSTALL_DRIVER_SOURCE=ON -DJFJOCH_VIEWER_BUILD=ON + cmake_flags: -DJFJOCH_USE_CUDA=ON - runner: jfjoch_rocky8 distro: rocky8_nocuda - cmake_flags: -DJFJOCH_INSTALL_DRIVER_SOURCE=OFF -DJFJOCH_VIEWER_BUILD=OFF -DJFJOCH_USE_CUDA=OFF + cmake_flags: -DJFJOCH_USE_CUDA=OFF steps: - uses: actions/checkout@v4 - name: Build packages @@ -42,7 +42,7 @@ jobs: run: | mkdir -p build cd build - cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmake_flags }} .. + cmake -G Ninja -DJFJOCH_INSTALL_DRIVER_SOURCE=ON -DJFJOCH_VIEWER_BUILD=ON -DCMAKE_BUILD_TYPE=Release ${{ matrix.cmake_flags }} .. ninja frontend ninja -j16 package - name: Upload packages @@ -55,7 +55,7 @@ jobs: if [ -f "$file" ]; then curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \ --upload-file "$file" \ - https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/cuda12/upload + https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/slsdet8-cuda12/upload fi done elif [ "${{ matrix.distro }}" = "rocky9" ]; then @@ -63,7 +63,7 @@ jobs: if [ -f "$file" ]; then curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \ --upload-file "$file" \ - https://gitea.psi.ch/api/packages/mx/rpm/centos/el9/cuda13/upload + https://gitea.psi.ch/api/packages/mx/rpm/centos/el9/slsdet8-cuda13/upload fi done elif [ "${{ matrix.distro }}" = "rocky8_nocuda" ]; then @@ -71,7 +71,7 @@ jobs: if [ -f "$file" ]; then curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \ --upload-file "$file" \ - https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/nocuda/upload + https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/slsdet8-nocuda/upload fi done elif [ "${{ matrix.distro }}" = "rocky8_sls9" ]; then @@ -79,7 +79,7 @@ jobs: if [ -f "$file" ]; then curl --user __token__:${{ secrets.PIP_REPOSITORY_API_TOKEN }} \ --upload-file "$file" \ - https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/cuda12-sls9/upload + https://gitea.psi.ch/api/packages/mx/rpm/centos/el8/slsdet9-cuda12/upload fi done elif [ "${{ matrix.distro }}" = "ubuntu2204" ]; then