ci: use macos-15-intel runner for x86_64 macOS builds
Replace cross-compilation approach with native Intel runner. macos-15-intel is GitHub's official replacement for the retired macos-13 runner, available for free on public repos until Aug 2027.
This commit is contained in:
@@ -16,7 +16,7 @@ jobs:
|
||||
include:
|
||||
- platform: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
- platform: macos-latest
|
||||
- platform: macos-15-intel
|
||||
target: x86_64-apple-darwin
|
||||
- platform: ubuntu-22.04
|
||||
target: x86_64-unknown-linux-gnu
|
||||
@@ -61,17 +61,7 @@ jobs:
|
||||
|
||||
- name: Install system dependencies (macOS)
|
||||
if: startsWith(matrix.platform, 'macos')
|
||||
run: |
|
||||
if [ "${{ matrix.target }}" = "x86_64-apple-darwin" ]; then
|
||||
arch -x86_64 /bin/bash -c '
|
||||
eval "$(/usr/local/bin/brew shellenv 2>/dev/null || /usr/local/Homebrew/bin/brew shellenv 2>/dev/null)"
|
||||
brew install unixodbc
|
||||
'
|
||||
echo "LIBRARY_PATH=/usr/local/lib" >> "$GITHUB_ENV"
|
||||
echo "PKG_CONFIG_PATH=/usr/local/lib/pkgconfig" >> "$GITHUB_ENV"
|
||||
else
|
||||
brew install unixodbc
|
||||
fi
|
||||
run: brew install unixodbc
|
||||
|
||||
- name: Install Apple certificate (macOS)
|
||||
if: startsWith(matrix.platform, 'macos')
|
||||
|
||||
Reference in New Issue
Block a user