diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2021-04-05 20:03:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 20:03:14 +0200 |
commit | b99f9f510415a7dbbb68910dd15503c31636f868 (patch) | |
tree | 923a07a08591579d3f0cea5214d92d417aec516f | |
parent | a46b210be806e22aff1dbf6779562627f8cb903f (diff) | |
parent | 20ea6956b5974141aae64b6a9d562ca56b317d15 (diff) | |
download | libexpat-git-b99f9f510415a7dbbb68910dd15503c31636f868.tar.gz |
Merge pull request #456 from libexpat/actions-enable-periodic-builds
GitHub Actions: Enable periodic CI runs
-rw-r--r-- | .github/workflows/autotools-cmake.yml | 6 | ||||
-rw-r--r-- | .github/workflows/expat_config_h.yml | 6 | ||||
-rw-r--r-- | .github/workflows/linux.yml | 6 | ||||
-rw-r--r-- | .github/workflows/macos.yml | 6 | ||||
-rwxr-xr-x | .travis.sh | 2 | ||||
-rw-r--r-- | expat/cmake/autotools/expat.cmake | 2 |
6 files changed, 18 insertions, 10 deletions
diff --git a/.github/workflows/autotools-cmake.yml b/.github/workflows/autotools-cmake.yml index 6939db23..9a0e9f71 100644 --- a/.github/workflows/autotools-cmake.yml +++ b/.github/workflows/autotools-cmake.yml @@ -4,8 +4,10 @@ name: Ensure that Autotools install identical CMake files on: -- pull_request -- push + pull_request: + push: + schedule: + - cron: '0 2 * * 5' # Every Friday at 2am jobs: checks: diff --git a/.github/workflows/expat_config_h.yml b/.github/workflows/expat_config_h.yml index 393ca36f..9b3cd206 100644 --- a/.github/workflows/expat_config_h.yml +++ b/.github/workflows/expat_config_h.yml @@ -4,8 +4,10 @@ name: Check expat_config.h.{in,cmake} for regressions on: -- pull_request -- push + pull_request: + push: + schedule: + - cron: '0 2 * * 5' # Every Friday at 2am jobs: checks: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index f18f9559..3af00433 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -4,8 +4,10 @@ name: Run Linux Travis CI tasks on: -- pull_request -- push + pull_request: + push: + schedule: + - cron: '0 2 * * 5' # Every Friday at 2am jobs: checks: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 77aaaea6..64c1bb57 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -4,8 +4,10 @@ name: Run macOS Travis CI tasks on: -- pull_request -- push + pull_request: + push: + schedule: + - cron: '0 2 * * 5' # Every Friday at 2am jobs: checks: @@ -70,7 +70,7 @@ elif [[ ${MODE} = cppcheck ]]; then -name xmltok_ns.c -o -name xmltok_impl.c \) - -exec cppcheck --quiet --error-exitcode=1 --force {} + + -exec cppcheck --quiet --error-exitcode=1 --force --suppress=objectIndex {} + ) find "${find_args[@]}" elif [[ ${MODE} = clang-format ]]; then diff --git a/expat/cmake/autotools/expat.cmake b/expat/cmake/autotools/expat.cmake index 7861d418..cb7444c9 100644 --- a/expat/cmake/autotools/expat.cmake +++ b/expat/cmake/autotools/expat.cmake @@ -4,7 +4,7 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) message(FATAL_ERROR "CMake >= 2.6.0 required") endif() cmake_policy(PUSH) -cmake_policy(VERSION 2.6...3.17) +cmake_policy(VERSION 2.6...3.18) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- |