Skip to content

Commit

Permalink
Revert "ci: parallalize build"
Browse files Browse the repository at this point in the history
This seems to produce some ci failures.

This reverts commit 93efa89.
  • Loading branch information
ptitjano committed Oct 24, 2024
1 parent 3de4e4b commit f29b0d6
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 -j$(nproc)
- make
- 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 -j$(nproc)
- make
- 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 -j$(nproc)
- make
- 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 -j$(nproc)
- make
- 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 -j$(nproc)
- make
- 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 -j$(nproc)
- make
- 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 -j$(nproc)
- cmake --build build
- 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 -j$(nproc)
cmake --build build

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 -j $env:NUMBER_OF_PROCESSORS
cmake --build build --config Release

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

0 comments on commit f29b0d6

Please sign in to comment.