Skip to content

Commit

Permalink
Update rust_build.yml
Browse files Browse the repository at this point in the history
mac os again
  • Loading branch information
DrInfy authored Nov 24, 2024
1 parent 28801d2 commit 17b5945
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/rust_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,20 @@ jobs:
run: mkdir artifacts

# macOS-specific steps
- name: Recreate gettext symlinks (Apple Silicon)
- name: Create expected symlink for gettext
if: runner.os == 'macOS'
run: |
sudo ln -sf /opt/homebrew/opt/gettext/lib/libintl.8.dylib /opt/homebrew/lib/libintl.8.dylib
sudo mkdir -p /usr/local/opt/gettext/lib
sudo ln -sf /opt/homebrew/opt/gettext/lib/libintl.8.dylib /usr/local/opt/gettext/lib/libintl.8.dylib
- name: Verify gettext library path
- name: Verify symlink for gettext
if: runner.os == 'macOS'
run: |
ls -l /opt/homebrew/opt/gettext/lib
ls -l /opt/homebrew/lib | grep libintl
run: ls -l /usr/local/opt/gettext/lib/libintl.8.dylib

- name: Set DYLD_LIBRARY_PATH
if: runner.os == 'macOS'
run: |
export DYLD_LIBRARY_PATH=/opt/homebrew/opt/gettext/lib:$DYLD_LIBRARY_PATH
env:
DYLD_LIBRARY_PATH: /opt/homebrew/opt/gettext/lib

# Create venv
- name: Setup python
Expand Down

0 comments on commit 17b5945

Please sign in to comment.