[CI] Don't try to use macOS 11 as it's no longer supported.

This commit is contained in:
Mika Lindqvist 2024-02-23 13:21:28 +02:00 committed by Hans Kristian Rosbach
parent 09f84042ce
commit 8e19f15a78
2 changed files with 8 additions and 8 deletions

View File

@ -75,12 +75,12 @@ jobs:
packages: qemu gcc-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu libc6-dev-ppc64el-cross
- name: macOS Clang
os: macOS-11
os: macOS-latest
compiler: clang
cxx-compiler: clang++
- name: macOS Clang Symbol Prefix
os: macOS-11
os: macOS-latest
compiler: clang
cxx-compiler: clang++
cmake-args: -DZLIB_SYMBOL_PREFIX=zTest_
@ -116,13 +116,10 @@ jobs:
HOMEBREW_NO_INSTALL_CLEANUP: 1
- name: Select Xcode version (macOS)
# Use a version of Xcode that supports ZERO_AR_DATE until CMake supports
# AppleClang linking with libtool using -D argument
# https://gitlab.kitware.com/cmake/cmake/-/issues/19852
if: runner.os == 'macOS'
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '11.7.0'
xcode-version: '15.2'
- name: Compare builds
run: sh test/pkgcheck.sh

View File

@ -79,8 +79,11 @@ Darwin)
# What CPU are we running on, exactly?
sysctl -n machdep.cpu.brand_string
sysctl -n machdep.cpu.features
sysctl -n machdep.cpu.leaf7_features
sysctl -n machdep.cpu.extfeatures
if test "$(uname -m)" = "x86_64"
then
sysctl -n machdep.cpu.leaf7_features
sysctl -n machdep.cpu.extfeatures
fi
;;
esac