Skip to content

Commit 75f1ebc

Browse files
committed
Build: added CI for Wheels
Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com> Build: Drop old Python versions Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com> Build: Fixing Python Install Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com> Build: Adding macOS wheels Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com> Build: Fix Python install Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com> Build: Fix Python versions Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com> Build: Use managed Python Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com> Build: Added Sdist artifact Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com> Build: Linux Wheels on CI Signed-off-by: Tim Lehr <tim.lehr@disneyanimation.com>
1 parent 74c7fca commit 75f1ebc

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

.github/workflows/build.yaml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,85 @@ jobs:
150150
path: |
151151
build_win64/Release/*
152152
build_win64/Debug/*
153+
Linux_Python_Wheels:
154+
runs-on: ubuntu-latest
155+
strategy:
156+
matrix:
157+
python-version: ["3.12", "3.11", "3.10", "3.9"]
158+
steps:
159+
- uses: actions/checkout@v4
160+
with:
161+
fetch-depth: 1
162+
submodules: recursive
163+
- name: Install Dependencies
164+
run: |
165+
sudo apt-get update
166+
sudo apt-get install -y libglfw3-dev libgtk-3-dev
167+
- name: Install UV
168+
uses: astral-sh/setup-uv@v6
169+
with:
170+
# Install a specific version of UV.
171+
version: "0.8.22"
172+
python-version: ${{ matrix.python-version }}
173+
- name: Install Python ${{ matrix.python-version }}
174+
run: uv python install ${{ matrix.python-version }}
175+
- name: Build Python wheel
176+
run: |
177+
uv build --wheel --python ${{ matrix.python-version }}
178+
- name: Archive Python wheel
179+
uses: actions/upload-artifact@v4
180+
with:
181+
name: raven-wheel-linux-py${{ matrix.python-version }}
182+
path: dist/*.whl
183+
macOS_Python_Wheels:
184+
runs-on: macOS-latest
185+
strategy:
186+
matrix:
187+
python-version: ["3.12", "3.11", "3.10", "3.9"]
188+
steps:
189+
- uses: actions/checkout@v4
190+
with:
191+
fetch-depth: 1
192+
submodules: recursive
193+
- name: Install UV
194+
uses: astral-sh/setup-uv@v6
195+
with:
196+
# Install a specific version of UV.
197+
version: "0.8.22"
198+
python-version: ${{ matrix.python-version }}
199+
- name: Install Python ${{ matrix.python-version }}
200+
run: uv python install ${{ matrix.python-version }}
201+
- name: Build Python wheel
202+
run: |
203+
uv build --wheel --python ${{ matrix.python-version }}
204+
- name: Archive Python wheel
205+
uses: actions/upload-artifact@v4
206+
with:
207+
name: raven-wheel-macos-py${{ matrix.python-version }}
208+
path: dist/*.whl
209+
Windows_Python_Wheels:
210+
runs-on: windows-latest
211+
strategy:
212+
matrix:
213+
python-version: [ "3.12", "3.11", "3.10", "3.9" ]
214+
steps:
215+
- uses: actions/checkout@v4
216+
with:
217+
fetch-depth: 1
218+
submodules: recursive
219+
- name: Install UV
220+
uses: astral-sh/setup-uv@v6
221+
with:
222+
# Install a specific version of UV.
223+
version: "0.8.22"
224+
python-version: ${{ matrix.python-version }}
225+
- name: Install Python ${{ matrix.python-version }}
226+
run: uv python install ${{ matrix.python-version }}
227+
- name: Build Python wheel
228+
run: |
229+
uv build --wheel --python ${{ matrix.python-version }}
230+
- name: Archive Python wheel
231+
uses: actions/upload-artifact@v4
232+
with:
233+
name: raven-wheel-windows-py${{ matrix.python-version }}
234+
path: dist/*.whl

0 commit comments

Comments
 (0)