Skip to content

Commit 382057e

Browse files
committed
Adds fat binary check
1 parent 32f8857 commit 382057e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build_executables.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,16 @@ jobs:
7575
uses: actions/setup-python@v5
7676
with:
7777
python-version: "3.10" # Specify your Python version
78+
79+
- name: Check if Python is a fat binary
80+
run: |
81+
if lipo -info $(which python3) | grep -q "Architectures in the fat file"; then
82+
lipo -info $(which python3)
83+
echo "Python is a fat binary."
84+
else
85+
echo "Python is NOT a fat binary."
86+
exit 1 # Optional: Exit with error if you require a fat binary
87+
fi
7888
7989
- name: Install Homebrew dependencies
8090
run: |

0 commit comments

Comments
 (0)