Skip to content

Commit

Permalink
ci: Renable parallalize build
Browse files Browse the repository at this point in the history
IT does not cause ci issues. There was a regression with the unit
test.

See: https://gitlab.com/sfcgal/SFCGAL/-/merge_requests/400
  • Loading branch information
ptitjano committed Oct 25, 2024
1 parent f29b0d6 commit 10327c6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .gitlab/pipeline/debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ debian_testing_gcc:
- ./ci/debian/before_install.sh $CGAL_VERSION
- cd $CI_PROJECT_DIR
- CGAL_DIR=$CI_PROJECT_DIR/CGAL cmake -DSFCGAL_BUILD_TESTS=ON -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++
- make
- make -j$(nproc)
- ctest -VV
parallel:
matrix:
Expand All @@ -24,7 +24,7 @@ debian_stable_gcc:
- ./ci/debian/before_install.sh $CGAL_VERSION
- cd $CI_PROJECT_DIR
- CGAL_DIR=$CI_PROJECT_DIR/CGAL cmake -DSFCGAL_BUILD_TESTS=ON -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++
- make
- make -j$(nproc)
- ctest -VV
parallel:
matrix:
Expand All @@ -40,7 +40,7 @@ debian_testing_clang:
- ./ci/debian/before_install.sh $CGAL_VERSION
- cd $CI_PROJECT_DIR
- CGAL_DIR=$CI_PROJECT_DIR/CGAL cmake -DSFCGAL_BUILD_TESTS=ON -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
- make
- make -j$(nproc)
- ctest -VV
parallel:
matrix:
Expand All @@ -56,7 +56,7 @@ debian_stable_clang:
- ./ci/debian/before_install.sh $CGAL_VERSION
- cd $CI_PROJECT_DIR
- CGAL_DIR=$CI_PROJECT_DIR/CGAL cmake -DSFCGAL_BUILD_TESTS=ON -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++
- make
- make -j$(nproc)
- ctest -VV
parallel:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .gitlab/pipeline/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fedora40_clang:
- ./ci/fedora/before_install.sh $CGAL_VERSION
- cd $CI_PROJECT_DIR
- cmake -DSFCGAL_BUILD_TESTS=ON -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCGAL_DIR=$CI_PROJECT_DIR/CGAL-$CGAL_VERSION
- make
- make -j$(nproc)
- ctest -VV
parallel:
matrix:
Expand All @@ -24,7 +24,7 @@ fedora40_gcc:
- ./ci/fedora/before_install.sh $CGAL_VERSION
- cd $CI_PROJECT_DIR
- cmake -DSFCGAL_BUILD_TESTS=ON -DCMAKE_C_COMPILER=/usr/bin/gcc -DCMAKE_CXX_COMPILER=/usr/bin/g++ -DCGAL_DIR=$CI_PROJECT_DIR/CGAL-$CGAL_VERSION
- make
- make -j$(nproc)
- ctest -VV
parallel:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .gitlab/pipeline/opensuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ opensuse_gcc:
script:
- ./ci/opensuse/before_install.sh
- cmake -S . -B build -DSFCGAL_BUILD_TESTS=ON -GNinja
- cmake --build build
- cmake --build build -j$(nproc)
- ctest --test-dir build --output-on-failure
2 changes: 1 addition & 1 deletion docker/Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN CGAL_DIR=/CGAL cmake -B build \
-DCMAKE_C_COMPILER=/usr/bin/gcc \
-DCMAKE_CXX_COMPILER=/usr/bin/g++ \
-DCMAKE_BUILD_TYPE=Release && \
cmake --build build
cmake --build build -j$(nproc)

FROM debian:stable-slim AS run

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN cmake -S . -B build \
-DCMAKE_BUILD_TYPE=Release \
-DSFCGAL_BUILD_TESTS=OFF \
-DCMAKE_TOOLCHAIN_FILE="\"$env:VCPKG_ROOT\scripts\buildsystems\vcpkg.cmake\""; \
cmake --build build --config Release
cmake --build build --config Release -j $env:NUMBER_OF_PROCESSORS

# Restore the default Windows shell for correct batch processing.
SHELL ["cmd", "/S", "/C"]
Expand Down

0 comments on commit 10327c6

Please sign in to comment.