mono / mono.posix

POSIX/Unix interface for Mono, .NET and .NET Core. Provides functionality for managed code to access POSIX/Unix features not accessible via the BCL. This repository supersedes the older code in https://github.com/mono/mono
MIT License
40 stars 9 forks source link

Fix macOS min version and bump CI #24

Closed akoeplinger closed 2 years ago

akoeplinger commented 2 years ago

We never actually used the MACOS_MIN_VERSION variable anywhere so it was defaulting to the version of the macOS build host. The macos-10.15 Azure DevOps image is getting deprecated so bump to macos-12 and fix the build so it still compiles with a min version of 10.15

The configure checks need -Werror=unguarded-availability otherwise they'll erreanously detect presence of symbols in the newer Xcode SDKs.