permissions:
contents: read
+env:
+ CMAKE_BUILD_PARALLEL_LEVEL: 4
+ CTEST_OUTPUT_ON_FAILURE: 1
+ CTEST_PARALLEL_LEVEL: 4
+ MAKEFLAGS: "--jobs=4"
+
jobs:
########################
- name: build
run: |
cd build
- make VERBOSE=1 -j2
+ make VERBOSE=1
- name: test
run: |
cd build
- make -j2 \
+ make \
setup_tests_a-framework \
setup_tests_examples \
setup_tests_quick_tests
- ctest --output-on-failure -j2 -VV
+ ctest -VV
########################
# linux-debug-parallel #
- name: build
run: |
cd build
- make VERBOSE=1 -j2
+ make VERBOSE=1
- name: test
run: |
# Remove warning: "A high-performance Open MPI point-to-point
export OMPI_MCA_btl_base_warn_component_unused='0'
cd build
- make -j2 \
+ make \
setup_tests_a-framework \
setup_tests_examples \
setup_tests_quick_tests
- ctest --output-on-failure -j2 -VV
+ ctest -VV
###############################
# linux-debug-parallel-tpetra #
- name: build
run: |
cd build
- make VERBOSE=1 -j2
+ make VERBOSE=1
- name: test trilinos_tpetra
run: |
# Remove warning: "A high-performance Open MPI point-to-point
export OMPI_MCA_btl_base_warn_component_unused='0'
cd build
- make -j2 setup_tests_trilinos_tpetra
- ctest --output-on-failure -j2 -VV
+ make setup_tests_trilinos_tpetra
+ ctest -VV
############################
# linux-debug-intel-oneapi #
run: |
source /opt/intel/oneapi/setvars.sh
cd build
- make VERBOSE=1 -j2
+ make VERBOSE=1
- name: test
run: |
source /opt/intel/oneapi/setvars.sh
cd build
- make -j2 \
+ make \
setup_tests_a-framework \
setup_tests_examples \
setup_tests_quick_tests
- ctest --output-on-failure -j2 -VV
+ ctest -VV
#######################
# linux-debug-cuda-11 #
- name: build deal.II
run: |
cd build
- make VERBOSE=1 -j2
+ make VERBOSE=1
- name: build CUDA tests
run: |
cd build
- make -j2 setup_tests_matrix_free_kokkos
+ make setup_tests_matrix_free_kokkos
cd tests/matrix_free_kokkos
- make -j2 compile_test_executables
+ make compile_test_executables
#############################
# linux-debug-cuda-11-clang #
- name: build deal.II
run: |
cd build
- make VERBOSE=1 -j 2
+ make VERBOSE=1
- name: build CUDA tests
run: |
cd build
- make -j2 setup_tests_matrix_free_kokkos
+ make setup_tests_matrix_free_kokkos
cd tests/matrix_free_kokkos
- make -j2 compile_test_executables
+ make compile_test_executables
permissions:
contents: read
+env:
+ CMAKE_BUILD_PARALLEL_LEVEL: 3
+ CTEST_OUTPUT_ON_FAILURE: 1
+ CTEST_PARALLEL_LEVEL: 3
+ MAKEFLAGS: "--jobs=3"
+
jobs:
osx-serial:
# simple serial build using apple clang
- name: build
run: |
cd build
- make VERBOSE=1 -j2
+ make VERBOSE=1
- name: test
run: |
cd build
- make -j2 \
+ make \
setup_tests_a-framework \
setup_tests_quick_tests
- ctest --output-on-failure -j2 -VV
+ ctest -VV
osx-parallel64:
# MPI build using apple clang and 64 bit indices
- name: build
run: |
cd build
- make VERBOSE=1 -j2
+ make VERBOSE=1
- name: test
run: |
cd build
- make -j2 \
+ make \
setup_tests_a-framework \
setup_tests_quick_tests
- ctest --output-on-failure -j2 -VV
+ ctest -VV
permissions:
contents: read
+env:
+ CMAKE_BUILD_PARALLEL_LEVEL: 4
+ CTEST_OUTPUT_ON_FAILURE: 1
+ # test only in serial to avoid file locking error on ZERO_CHECK.lastbuildstate
+ CTEST_PARALLEL_LEVEL: 1
+
jobs:
windows-serial:
# Serial build on Windows
run: type build/detailed.log
- name: build
run: |
- cmake --build build --parallel 2 --target install
+ cmake --build build --target install
- name: test
- # test only in serial to avoid file locking error on ZERO_CHECK.lastbuildstate
run: |
- cmake --build build --parallel 2 --target setup_tests_a-framework setup_tests_examples setup_tests_quick_tests
- ctest --test-dir build --build-config Debug --output-on-failure --extra-verbose
+ cmake --build build --target setup_tests_a-framework setup_tests_examples setup_tests_quick_tests
+ ctest --test-dir build --build-config Debug --extra-verbose
- name: upload library
# run only if a PR is merged into master
if: ${{ github.ref == 'refs/heads/master' && matrix.os == 'windows-2022' }}