7171 name : windowsbuild${{ matrix.python-version }}
7272 path : ${{ github.workspace }}/dist/*.whl
7373 overwrite : true
74+
7475 build-mac-silicon-wheels :
7576
7677 runs-on : macos-latest-xlarge
@@ -112,7 +113,7 @@ jobs:
112113 path : ${{ github.workspace }}/dist/*.whl
113114 overwrite : true
114115
115- build-linux-wheels :
116+ build-linux-x64- wheels :
116117
117118 runs-on : ubuntu-22.04
118119 env :
@@ -157,9 +158,54 @@ jobs:
157158 path : ${{ github.workspace }}/dist/*.whl
158159 overwrite : true
159160
161+ build-linux-aarch64-wheels :
162+
163+ runs-on : ubuntu-22.04-arm
164+ env :
165+ CXX : g++-10
166+ strategy :
167+ matrix :
168+ python-version : [ 3.8, 3.9, "3.10", "3.11", "3.12", "3.13", "3.14" ]
169+
170+ steps :
171+
172+ - name : Checkout
173+ uses : actions/checkout@v4
174+
175+ - name : Setup Python ${{ matrix.python-version }}
176+ uses : actions/setup-python@v5
177+ with :
178+ python-version : ${{ matrix.python-version }}
179+
180+ - name : Retrieve submodules/Dependencies
181+ run : |
182+ git submodule update --init --recursive ./thirdparty/imgui
183+ git submodule update --init --recursive ./thirdparty/implot
184+ git submodule update --init --recursive ./thirdparty/glfw
185+ sudo apt-get update
186+ sudo apt-get install libglu1-mesa-dev libgl1-mesa-dev xorg-dev libxrandr-dev -y
187+
188+ - name : Mark Versions
189+ run : |
190+ cd $GITHUB_WORKSPACE
191+ echo ${{ github.event.inputs.version }} > version_number.txt
192+
193+ - name : Build Wheel
194+ run : |
195+ cd $GITHUB_WORKSPACE
196+ python -m pip install --upgrade pip twine wheel setuptools
197+ python -m setup bdist_wheel --plat-name manylinux2014_aarch64 --dist-dir dist
198+
199+ - name : Upload Linux ${{ matrix.python-version }} Wheel
200+ uses : actions/upload-artifact@v4
201+ with :
202+ name : linuxaarchbuild${{ matrix.python-version }}
203+ path : ${{ github.workspace }}/dist/*.whl
204+ overwrite : true
205+
160206 deploy-packages :
161207
162- needs : [build-windows-wheels, build-linux-wheels, build-mac-silicon-wheels]
208+ needs : [build-windows-wheels, build-linux-x64-wheels, build-linux-aarch64- wheels, build-mac-silicon-wheels]
163209 runs-on : windows-2022
164210
165211 steps :
@@ -186,6 +232,7 @@ jobs:
186232 python -m twine upload windowsbuild*/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
187233 python -m twine upload apple10sbuild*/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
188234 python -m twine upload linuxbuild*/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
235+ python -m twine upload linuxaarchbuild*/* -u __token__ -p ${{ secrets.PYPI_PASSWORD }} --skip-existing
189236
190237 - name : Test PyPi Deployment
191238 shell : cmd
@@ -195,3 +242,4 @@ jobs:
195242 python -m twine upload --repository testpypi windowsbuild*/* -u __token__ -p ${{ secrets.TEST_PYPI_PASSWORD }} --skip-existing
196243 python -m twine upload --repository testpypi apple10sbuild*/* -u __token__ -p ${{ secrets.TEST_PYPI_PASSWORD }} --skip-existing
197244 python -m twine upload --repository testpypi linuxbuild*/* -u __token__ -p ${{ secrets.TEST_PYPI_PASSWORD }} --skip-existing
245+ python -m twine upload --repository testpypi linuxaarchbuild*/* -u __token__ -p ${{ secrets.TEST_PYPI_PASSWORD }} --skip-existing
0 commit comments