diff --git a/.github/workflows/Linux.yaml b/.github/workflows/Linux.yaml index 5a76fa98..58709ee3 100644 --- a/.github/workflows/Linux.yaml +++ b/.github/workflows/Linux.yaml @@ -3,9 +3,10 @@ name: Linux on: push: - branches: [master] - pull_request: - branches: [master] + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: jobs: build-test-install: diff --git a/.github/workflows/MacOS.yaml b/.github/workflows/MacOS.yaml index fd605b3b..55bd03e0 100644 --- a/.github/workflows/MacOS.yaml +++ b/.github/workflows/MacOS.yaml @@ -3,16 +3,17 @@ name: MacOS on: push: - branches: [master] - pull_request: - branches: [master] + branches: [main] + pull_request: + branches: [main] + workflow_dispatch: jobs: build-test-install: strategy: fail-fast: false matrix: - os: [macos-11, macos-latest] + os: [macos-latest] build_type: [serial, openmp, debug] include: - build_type: serial diff --git a/CMakeLists.txt b/CMakeLists.txt index bb557358..4430ef81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -129,6 +129,7 @@ if(NOT TARGET ptscotch) Scotch GIT_REPOSITORY https://gitlab.inria.fr/scotch/scotch.git GIT_TAG v7.0.4 + GIT_SHALLOW TRUE PATCH_COMMAND ${CMAKE_COMMAND} -DFileToPatch=CMakeLists.txt -P "${PROJECT_SOURCE_DIR}/cmake/PatchScotch.cmake" ) FetchContent_MakeAvailable(Scotch)