mirror of https://mirror.osredm.com/root/redis.git
Fix daily failures due to macos-latest change. (#9637)
* Fix test modules linking on macOS 11.x.
* Use macOS 10.x for FreeBSD VM as VirtualBox is not yet supported on
11.
(cherry picked from commit 6d5a911707
)
This commit is contained in:
parent
052e01e75d
commit
52cccfbe94
|
@ -247,7 +247,7 @@ jobs:
|
|||
run: ./runtest-cluster
|
||||
|
||||
test-freebsd:
|
||||
runs-on: macos-10.15
|
||||
runs-on: macos-12
|
||||
if: github.repository == 'redis/redis'
|
||||
timeout-minutes: 14400
|
||||
steps:
|
||||
|
|
|
@ -11,8 +11,9 @@ else # Linux, others
|
|||
endif
|
||||
|
||||
# Needed to satisfy __stack_chk_fail_local on Linux with -m32, due to gcc
|
||||
# -fstack-protector by default. Breaks on FreeBSD so we exclude it.
|
||||
ifneq ($(uname_S),FreeBSD)
|
||||
# -fstack-protector by default. Breaks on FreeBSD and macOS 11 so needs
|
||||
# to be Linux specific.
|
||||
ifeq ($(uname_S),Linux)
|
||||
LIBS = -lc
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue