diff --git a/.gitea/workflows/cpp-tests.yml b/.gitea/workflows/cpp-tests.yml index 6f3f86a..3ec4b73 100644 --- a/.gitea/workflows/cpp-tests.yml +++ b/.gitea/workflows/cpp-tests.yml @@ -27,7 +27,7 @@ jobs: run: cmake -S code -B build -DCMAKE_BUILD_TYPE=Release - name: Build - run: cmake --build build --target conformallab_tests -j$(nproc) + run: nice -n 19 cmake --build build --target conformallab_tests -j$(nproc) - name: Run tests run: > @@ -66,6 +66,7 @@ jobs: runs-on: eulernest container: image: git.eulernest.eu/conformallab/ci-cpp:latest + options: "--memory=1400m --memory-swap=1400m" steps: - uses: actions/checkout@v4 @@ -74,7 +75,7 @@ jobs: run: cmake -S code -B build -DWITH_CGAL_TESTS=ON -DCMAKE_BUILD_TYPE=Release - name: Build CGAL-Tests - run: cmake --build build --target conformallab_cgal_tests -j$(nproc) + run: nice -n 19 cmake --build build --target conformallab_cgal_tests -j2 - name: Run CGAL-Tests run: >