1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Test pull requests in Cirrus CI.

Both FreedBSD and MacOS use clang as their default compiler and clang catches some errors that gcc does not. Specifically, wide integers being assigned to short integers resulting in possible truncations.
This commit is contained in:
David Steele 2021-04-22 18:18:34 -04:00
parent 06fa18582a
commit 6a39c51f8f

View File

@ -1,8 +1,8 @@
# Cirrus CI Build Definitions # Cirrus CI Build Definitions
# ---------------------------------------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------------------------------------
# Build the branch if it is integration or ends in -ci/-cic (-cic targets only Cirrus CI) # Build the branch if it is integration, a pull request, or ends in -ci/-cic (-cic targets only Cirrus CI)
only_if: $CIRRUS_BRANCH == 'integration' || $CIRRUS_BRANCH =~ '.*-ci$' || $CIRRUS_BRANCH =~ '.*-cic$' only_if: $CIRRUS_BRANCH == 'integration' || $CIRRUS_PR != '' || $CIRRUS_BRANCH =~ '.*-ci$' || $CIRRUS_BRANCH =~ '.*-cic$'
# No auto-cancel on integration # No auto-cancel on integration
auto_cancellation: $CIRRUS_BRANCH != 'integration' auto_cancellation: $CIRRUS_BRANCH != 'integration'