If more commits are submitted to master between the time of triggering
the first Cirrus build and the time the final build gets started, the
desired commit is no longer at HEAD and the build will error out.
[skip ci]
name: FreeBSD
freebsd_instance:
matrix:
- # There isn't a stable 13.0 image yet (2019-09)
+ # There isn't a stable 13.0 image yet (2019-10)
image_family: freebsd-13-0-snap
image_family: freebsd-12-0
# The stable 11.3 image causes "Agent is not responding" so use a snapshot
image_family: freebsd-10-4
env:
- CIRRUS_CLONE_DEPTH: 1
+ # Set to 10 instead of 1 to avoid problems when new commits are submitted
+ # during a run.
+ CIRRUS_CLONE_DEPTH: 10
CFLAGS: -Wall -Wextra -O2
MAKE_FLAGS: -j 2