7171 name : windowsbuild${{ matrix.python-version }}
7272 path : ${{ github.workspace }}/dist/*.whl
7373 overwrite : true
74-
75- build-mac10-wheels :
76-
77- runs-on : macos-13
78- strategy :
79- matrix :
80- python-version : [ 3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14" ]
81-
82- steps :
83-
84- - name : Checkout
85- uses : actions/checkout@v4
86-
87- - name : Setup Python ${{ matrix.python-version }}
88- uses : actions/setup-python@v5
89- with :
90- python-version : ${{ matrix.python-version }}
91-
92- - name : Retrieve submodules
93- run : |
94- git submodule update --init --recursive ./thirdparty/imgui
95- git submodule update --init --recursive ./thirdparty/implot
96- git submodule update --init --recursive ./thirdparty/glfw
97-
98- - name : Mark Versions
99- run : |
100- cd $GITHUB_WORKSPACE
101- echo ${{ github.event.inputs.version }} > version_number.txt
102-
103- - name : Build Wheel
104- run : |
105- cd $GITHUB_WORKSPACE
106- python -m pip install --upgrade pip twine wheel setuptools
107- python -m setup bdist_wheel --plat-name macosx-10.6-x86_64 --dist-dir dist
108-
109- - name : Upload MacOS 10.15 ${{ matrix.python-version }} Wheel
110- uses : actions/upload-artifact@v4
111- with :
112- name : apple10build${{ matrix.python-version }}
113- path : ${{ github.workspace }}/dist/*.whl
114- overwrite : true
115-
11674 build-mac-silicon-wheels :
11775
11876 runs-on : macos-latest-xlarge
@@ -201,7 +159,7 @@ jobs:
201159
202160 deploy-packages :
203161
204- needs : [build-windows-wheels, build-mac10-wheels, build- linux-wheels, build-mac-silicon-wheels]
162+ needs : [build-windows-wheels, build-linux-wheels, build-mac-silicon-wheels]
205163 runs-on : windows-2022
206164
207165 steps :
@@ -226,7 +184,6 @@ jobs:
226184 if : ${{contains(github.event.inputs.deploy, 'true') && github.ref == 'refs/heads/master'}}
227185 run : |
228186 python -m twine upload windowsbuild*/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
229- python -m twine upload apple10build*/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
230187 python -m twine upload apple10sbuild*/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
231188 python -m twine upload linuxbuild*/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
232189
@@ -236,6 +193,5 @@ jobs:
236193 run : |
237194 dir
238195 python -m twine upload --repository testpypi windowsbuild*/* -u __token__ -p ${{ secrets.TEST_PYPI_PASSWORD }} --skip-existing
239- python -m twine upload --repository testpypi apple10build*/* -u __token__ -p ${{ secrets.TEST_PYPI_PASSWORD }} --skip-existing
240196 python -m twine upload --repository testpypi apple10sbuild*/* -u __token__ -p ${{ secrets.TEST_PYPI_PASSWORD }} --skip-existing
241197 python -m twine upload --repository testpypi linuxbuild*/* -u __token__ -p ${{ secrets.TEST_PYPI_PASSWORD }} --skip-existing
0 commit comments