From 2e876cdae05aee9057248dcc92dff0925510b0f5 Mon Sep 17 00:00:00 2001 From: Marc Fehling Date: Wed, 23 Oct 2024 16:14:40 +0200 Subject: [PATCH] osx: use separate build directory. --- .github/workflows/osx.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 9e5ed1fe9a..2c7a221df1 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -39,11 +39,17 @@ jobs: cmake --version - name: configure run: | - cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_EARLY_DEPRECATIONS=ON . + mkdir build + cd build + cmake -D CMAKE_BUILD_TYPE=Debug \ + -D DEAL_II_CXX_FLAGS='-Werror' \ + -D DEAL_II_EARLY_DEPRECATIONS=ON \ + .. - name: print detailed.log - run: cat detailed.log + run: cat build/detailed.log - name: build run: | + cd build make VERBOSE=1 -j2 make -j2 \ setup_tests_a-framework \ @@ -86,11 +92,19 @@ jobs: cmake --version - name: configure run: | - CC=mpicc CXX=mpic++ cmake -D CMAKE_BUILD_TYPE=Debug -D DEAL_II_WITH_64BIT_INDICES=ON -D DEAL_II_CXX_FLAGS='-Werror' -D DEAL_II_EARLY_DEPRECATIONS=ON -D DEAL_II_WITH_MPI=on . + mkdir build + cd build + cmake -D CMAKE_BUILD_TYPE=Debug \ + -D DEAL_II_WITH_64BIT_INDICES=ON \ + -D DEAL_II_CXX_FLAGS='-Werror' \ + -D DEAL_II_EARLY_DEPRECATIONS=ON \ + -D DEAL_II_WITH_MPI=ON \ + .. - name: print detailed.log - run: cat detailed.log + run: cat build/detailed.log - name: build run: | + cd build make VERBOSE=1 -j2 make -j2 \ setup_tests_a-framework \ -- 2.39.5