Skip to content

Commit 43be402

Browse files
authored
Update build.yml to temporarily remove broken macOS deployment
1 parent b96d43a commit 43be402

File tree

1 file changed

+75
-75
lines changed

1 file changed

+75
-75
lines changed

.github/workflows/build.yml

Lines changed: 75 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -61,81 +61,81 @@ jobs:
6161
path: |
6262
Syncplay-${{ env.VER }}-Setup.exe
6363
64-
macos:
65-
name: Build for macOS
66-
runs-on: macos-12
67-
steps:
68-
- name: Checkout
69-
uses: actions/checkout@v2
70-
71-
- name: Setup Python
72-
run: |
73-
wget https://www.python.org/ftp/python/3.10.6/python-3.10.6-macos11.pkg
74-
sudo installer -verbose -pkg ./python-3.10.6-macos11.pkg -target /
75-
echo "/Library/Frameworks/Python.framework/Versions/3.10/bin" >> $GITHUB_PATH
76-
77-
- name: Check Python install
78-
run: |
79-
which python3
80-
python3 --version
81-
which pip3
82-
pip3 --version
83-
file $(which python3)
84-
85-
- name: Install Python dependencies
86-
run: |
87-
pip3 install -U pip setuptools wheel
88-
pip3 install -r requirements.txt
89-
pip3 install -r requirements_gui.txt
90-
pip3 install py2app
91-
92-
- name: Install universal2 dependencies
93-
env:
94-
CFLAGS: -arch x86_64 -arch arm64
95-
ARCHFLAGS: -arch x86_64 -arch arm64
96-
run: |
97-
pip3 uninstall zope.interface -y
98-
pip3 install --no-binary :all: zope.interface
99-
100-
pip3 uninstall cffi -y
101-
pip3 install --no-binary :all: cffi
102-
103-
pip3 uninstall cryptography -y
104-
pip3 download --platform macosx_10_10_universal2 --only-binary :all: --no-deps --dest . cryptography
105-
pip3 install --no-cache-dir --no-index --find-links . cryptography
106-
107-
pip3 uninstall charset-normalizer -y
108-
pip3 download --platform macosx_10_9_universal2 --only-binary :all: --no-deps --dest . charset-normalizer
109-
pip3 install --no-cache-dir --no-index --find-links . charset-normalizer
110-
111-
- name: Check Python dependencies
112-
run: |
113-
python3 -c "from PySide6 import __version__; print(__version__)"
114-
python3 -c "from PySide6.QtCore import __version__; print(__version__)"
115-
python3 -c "from PySide6.QtCore import QLibraryInfo; print(QLibraryInfo.location(QLibraryInfo.LibrariesPath))"
116-
python3 -c "import ssl; print(ssl)"
117-
python3 -c "from py2app.recipes import pyside6"
118-
python3 -c 'from distutils.sysconfig import get_config_var; print(get_config_var("LDLIBRARY"))'
119-
120-
- name: Build
121-
run: |
122-
python3 buildPy2app.py py2app
123-
124-
- name: Prepare for deployment
125-
run: |
126-
ls -al
127-
export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')"
128-
echo "VER=$VER" >> $GITHUB_ENV
129-
mkdir dist_actions
130-
ci/macos-deploy.sh
131-
ls -al dist_actions
132-
133-
- name: Deploy
134-
uses: actions/upload-artifact@v4
135-
with:
136-
name: Syncplay_${{ env.VER }}.dmg
137-
path: |
138-
dist_actions/Syncplay_${{ env.VER }}.dmg
64+
# macos:
65+
# name: Build for macOS
66+
# runs-on: macos-12
67+
# steps:
68+
# - name: Checkout
69+
# uses: actions/checkout@v2
70+
#
71+
# - name: Setup Python
72+
# run: |
73+
# wget https://www.python.org/ftp/python/3.10.6/python-3.10.6-macos11.pkg
74+
# sudo installer -verbose -pkg ./python-3.10.6-macos11.pkg -target /
75+
# echo "/Library/Frameworks/Python.framework/Versions/3.10/bin" >> $GITHUB_PATH
76+
#
77+
# - name: Check Python install
78+
# run: |
79+
# which python3
80+
# python3 --version
81+
# which pip3
82+
# pip3 --version
83+
# file $(which python3)
84+
#
85+
# - name: Install Python dependencies
86+
# run: |
87+
# pip3 install -U pip setuptools wheel
88+
# pip3 install -r requirements.txt
89+
# pip3 install -r requirements_gui.txt
90+
# pip3 install py2app
91+
#
92+
# - name: Install universal2 dependencies
93+
# env:
94+
# CFLAGS: -arch x86_64 -arch arm64
95+
# ARCHFLAGS: -arch x86_64 -arch arm64
96+
# run: |
97+
# pip3 uninstall zope.interface -y
98+
# pip3 install --no-binary :all: zope.interface
99+
#
100+
# pip3 uninstall cffi -y
101+
# pip3 install --no-binary :all: cffi
102+
#
103+
# pip3 uninstall cryptography -y
104+
# pip3 download --platform macosx_10_10_universal2 --only-binary :all: --no-deps --dest . cryptography
105+
# pip3 install --no-cache-dir --no-index --find-links . cryptography
106+
#
107+
# pip3 uninstall charset-normalizer -y
108+
# pip3 download --platform macosx_10_9_universal2 --only-binary :all: --no-deps --dest . charset-normalizer
109+
# pip3 install --no-cache-dir --no-index --find-links . charset-normalizer
110+
#
111+
# - name: Check Python dependencies
112+
# run: |
113+
# python3 -c "from PySide6 import __version__; print(__version__)"
114+
# python3 -c "from PySide6.QtCore import __version__; print(__version__)"
115+
# python3 -c "from PySide6.QtCore import QLibraryInfo; print(QLibraryInfo.location(QLibraryInfo.LibrariesPath))"
116+
# python3 -c "import ssl; print(ssl)"
117+
# python3 -c "from py2app.recipes import pyside6"
118+
# python3 -c 'from distutils.sysconfig import get_config_var; print(get_config_var("LDLIBRARY"))'
119+
#
120+
# - name: Build
121+
# run: |
122+
# python3 buildPy2app.py py2app
123+
#
124+
# - name: Prepare for deployment
125+
# run: |
126+
# ls -al
127+
# export VER="$(cat syncplay/__init__.py | awk '/version/ {gsub("\047", "", $3); print $NF}')"
128+
# echo "VER=$VER" >> $GITHUB_ENV
129+
# mkdir dist_actions
130+
# ci/macos-deploy.sh
131+
# ls -al dist_actions
132+
#
133+
# - name: Deploy
134+
# uses: actions/upload-artifact@v4
135+
# with:
136+
# name: Syncplay_${{ env.VER }}.dmg
137+
# path: |
138+
# dist_actions/Syncplay_${{ env.VER }}.dmg
139139

140140
deb:
141141
name: Build Debian package

0 commit comments

Comments
 (0)