mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 19:17:09 +03:00
Merge pull request #1039 from pulsar-edit/fix-apple-silicon-builds
Link to Homebrew version of `libiconv`…
This commit is contained in:
commit
4b1edf4d16
@ -137,6 +137,7 @@ silicon_mac_task:
|
|||||||
- brew update
|
- brew update
|
||||||
- brew uninstall node@20
|
- brew uninstall node@20
|
||||||
- brew install git python@$PYTHON_VERSION python-setuptools
|
- brew install git python@$PYTHON_VERSION python-setuptools
|
||||||
|
- brew install libiconv
|
||||||
- git submodule init
|
- git submodule init
|
||||||
- git submodule update
|
- git submodule update
|
||||||
- ln -s /opt/homebrew/bin/python$PYTHON_VERSION /opt/homebrew/bin/python
|
- ln -s /opt/homebrew/bin/python$PYTHON_VERSION /opt/homebrew/bin/python
|
||||||
@ -150,9 +151,13 @@ silicon_mac_task:
|
|||||||
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
|
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
|
||||||
install_script:
|
install_script:
|
||||||
- export PATH="/opt/homebrew/bin:$PATH"
|
- export PATH="/opt/homebrew/bin:$PATH"
|
||||||
|
- export LDFLAGS="-L$(brew --prefix)/opt/libiconv/lib"
|
||||||
|
- export CPPFLAGS="-I$(brew --prefix)/opt/libiconv/include"
|
||||||
- yarn install --ignore-engines || yarn install --ignore-engines
|
- yarn install --ignore-engines || yarn install --ignore-engines
|
||||||
build_script:
|
build_script:
|
||||||
- export PATH="/opt/homebrew/bin:$PATH"
|
- export PATH="/opt/homebrew/bin:$PATH"
|
||||||
|
- export LDFLAGS="-L$(brew --prefix)/opt/libiconv/lib"
|
||||||
|
- export CPPFLAGS="-I$(brew --prefix)/opt/libiconv/include"
|
||||||
- yarn build
|
- yarn build
|
||||||
- yarn run build:apm
|
- yarn run build:apm
|
||||||
build_binary_script:
|
build_binary_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user