Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
lyonsil committed Nov 22, 2024
1 parent 661a00f commit f2d7dd0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/package-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,12 @@ jobs:
- name: Install icu4c on macOS
if: ${{ matrix.os == 'macos-latest' }}
run: |
sudo port -v install icu +universal
run: sudo port -v install icu @74.2_0 +universal

- name: Fixup loader paths for icu4c
if: ${{ matrix.os == 'macos-latest' }}
run: |
unique_files=()
for dylib in /opt/local/lib/libicu*.dylib; do
real_path=$(readlink -f "$dylib")
if [[ ! " ${unique_files[@]} " =~ " ${real_path} " ]]; then
unique_files+=("$real_path")
sudo install_name_tool -add_rpath @loader_path/ "$real_path"
fi
done
sudo install_name_tool -change /opt/local/lib/libicudata.74.dylib @loader_path/libicudata.74.dylib /opt/local/lib/libicuuc.74.dylib
- name: Checkout git repo
uses: actions/checkout@v4
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,12 @@ jobs:
- name: Install icu4c on macOS
if: ${{ matrix.os == 'macos-latest' }}
run: |
sudo port -v install icu +universal
run: sudo port -v install icu @74.2_0 +universal

- name: Fixup loader paths for icu4c
if: ${{ matrix.os == 'macos-latest' }}
run: |
unique_files=()
for dylib in /opt/local/lib/libicu*.dylib; do
real_path=$(readlink -f "$dylib")
if [[ ! " ${unique_files[@]} " =~ " ${real_path} " ]]; then
unique_files+=("$real_path")
sudo install_name_tool -add_rpath @loader_path/ "$real_path"
fi
done
sudo install_name_tool -change /opt/local/lib/libicudata.74.dylib @loader_path/libicudata.74.dylib /opt/local/lib/libicuuc.74.dylib
- name: Checkout git repo
uses: actions/checkout@v4
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,12 @@ jobs:
- name: Install icu4c on macOS
if: ${{ matrix.os == 'macos-latest' }}
run: sudo port -v install icu +universal
run: sudo port -v install icu @74.2_0 +universal

- name: Fixup loader paths for icu4c
if: ${{ matrix.os == 'macos-latest' }}
run: |
unique_files=()
for dylib in /opt/local/lib/libicu*.dylib; do
real_path=$(readlink -f "$dylib")
if [[ ! " ${unique_files[@]} " =~ " ${real_path} " ]]; then
unique_files+=("$real_path")
sudo install_name_tool -add_rpath @loader_path/ "$real_path"
fi
done
sudo install_name_tool -change /opt/local/lib/libicudata.74.dylib @loader_path/libicudata.74.dylib /opt/local/lib/libicuuc.74.dylib
- name: Check out Git repository
uses: actions/checkout@v4
Expand Down

0 comments on commit f2d7dd0

Please sign in to comment.