Skip to content

Commit

Permalink
[build] macos attempt no.4
Browse files Browse the repository at this point in the history
Authored by: bashonly
  • Loading branch information
bashonly committed Dec 6, 2023
1 parent 469cfc0 commit e5241c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ jobs:
mkdir curl_cffi_whls curl_cffi_universal2
python3 -m pip download --only-binary=:all: --platform macosx_11_0_arm64 curl_cffi --pre -d curl_cffi_whls
python3 -m pip download --only-binary=:all: --platform macosx_11_0_x86_64 curl_cffi --pre -d curl_cffi_whls
files=(curl_cffi_whls/curl_cffi*); files+=(curl_cffi_whls/cffi-*)
python3 -m delocate.cmd.delocate_fuse "${files[@]}" -w curl_cffi_universal2
python3 -m delocate.cmd.delocate_fuse curl_cffi_whls/curl_cffi* -w curl_cffi_universal2
python3 -m delocate.cmd.delocate_fuse curl_cffi_whls/cffi-* -w curl_cffi_universal2
cd curl_cffi_universal2
for file in *cffi-*x86_64*; do mv -i "${file}" "${file/x86_64/universal2}"; done
files=(curl_cffi-*); files+=(cffi-*)
Expand Down

0 comments on commit e5241c3

Please sign in to comment.