Skip to content

Commit

Permalink
CI: Deactivate file checks for CMake CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-griesbach committed Feb 7, 2025
1 parent db99afa commit 2fc3af2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ env:
CTEST_NO_TESTS_ACTION: "error"
CMAKE_INSTALL_PREFIX: ~/local
CMAKE_PREFIX_PATH: ~/local
# Due to busy file system problems on the CI runners, we deactivate the file
# checks in the CI.
P4EST_CI_CONFIG_OPT: -DP4EST_ENABLE_FILE_CHECKS=OFF

jobs:

Expand Down Expand Up @@ -116,7 +119,7 @@ jobs:

# Windows MPI is shaky in general on GitHub Actions, so we don't use it
- name: CMake configure without MPI
run: cmake --preset default -Dmpi:BOOL=no
run: cmake --preset default -Dmpi:BOOL=no $env:P4EST_CI_CONFIG_OPT

- name: CMake build
run: cmake --build --preset default
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/composite-unix/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ runs:
steps:
- name: CMake configure
shell: bash
run: >-
cmake --preset default
-DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
run: |
cmake --preset default $P4EST_CI_CONFIG_OPT \
-DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
- name: CMake build
shell: bash
Expand All @@ -24,9 +24,9 @@ runs:
# standalone examples tests that CMake packaging is correct
- name: CMake configure examples
shell: bash
run: >-
cmake -B example/build -S example
-DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
run: |
cmake -B example/build -S example $P4EST_CI_CONFIG_OPT
-DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }}
- name: CMake build examples
shell: bash
Expand Down

0 comments on commit 2fc3af2

Please sign in to comment.