mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Fix GH MacOS build.
This commit is contained in:
parent
7c9cab9a01
commit
3dd28842c2
13
.github/workflows/main.yml
vendored
13
.github/workflows/main.yml
vendored
@ -291,10 +291,20 @@ jobs:
|
||||
run: |
|
||||
brew install automake autoconf-archive cmake libtool ninja
|
||||
|
||||
# libcxx build is not working with python >= 3.12
|
||||
- name: Do not use preinstalled python >= 3.12
|
||||
if: ${{ matrix.arch == 'x64' }}
|
||||
run: |
|
||||
brew uninstall --ignore-dependencies python@3.12
|
||||
[ -e /Library/Frameworks/Python.framework ] && \
|
||||
sudo mv /Library/Frameworks/Python.framework /Library/Frameworks/Python.framework.dont-look-at-this
|
||||
brew install python@3.11
|
||||
ln -s "$(brew --prefix python@3.11)/bin/python3" "$(brew --prefix python@3.11)/bin/python"
|
||||
|
||||
- name: Cache - vcpkg
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
key: ${{ runner.os }}-vcpkg
|
||||
key: ${{ runner.os }}-vcpkg-0
|
||||
path: |
|
||||
$HOME/.cache/vcpkg/archives
|
||||
|
||||
@ -302,6 +312,7 @@ jobs:
|
||||
run: |
|
||||
export LIBTOOLIZE=glibtoolize
|
||||
export LIBTOOL=glibtool
|
||||
export PATH="$(brew --prefix python@3.11)/bin:$PATH"
|
||||
|
||||
./autogen.sh --with-builtin-tommath --with-builtin-tomcrypt
|
||||
make -j4
|
||||
|
Loading…
Reference in New Issue
Block a user