Skip to content

Commit 302c790

Browse files
test mac build
1 parent f4b9eab commit 302c790

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ pi_task:
7272
mac_task:
7373
macos_instance:
7474
matrix:
75-
- image: ghcr.io/cirruslabs/macos-sonoma-xcode:latest
75+
- image: ghcr.io/cirruslabs/macos-sequoia-xcode:latest
7676
env:
77-
MACOSX_DEPLOYMENT_TARGET: "11.0"
77+
MACOSX_DEPLOYMENT_TARGET: "11"
7878
matrix:
7979
- env:
8080
PY_VER: "3.12"

.github/workflows/build.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
path: dist/*
118118

119119

120-
build-mac-arm:
120+
build-mac-arm64:
121121
runs-on: macos-13
122122
strategy:
123123
matrix:
@@ -190,17 +190,17 @@ jobs:
190190
python -m pip install --upgrade build
191191
python -m build --wheel
192192
193-
# - name: Rename wheels from universal2 to x86_64
194-
# run: |
195-
# # Rename universal2 wheels to x86_64 since they aren't truly universal
196-
# for wheel in dist/*universal2.whl; do
197-
# if [ -f "$wheel" ]; then
198-
# new_wheel=$(echo "$wheel" | sed 's/universal2/x86_64/')
199-
# echo "Renaming: $(basename "$wheel") -> $(basename "$new_wheel")"
200-
# mv "$wheel" "$new_wheel"
201-
# fi
202-
# done
203-
# shell: bash
193+
- name: Rename wheels from universal2 to arm64
194+
run: |
195+
# Rename universal2 wheels to arm64 since they aren't truly universal
196+
for wheel in dist/*universal2.whl; do
197+
if [ -f "$wheel" ]; then
198+
new_wheel=$(echo "$wheel" | sed 's/universal2/arm64/')
199+
echo "Renaming: $(basename "$wheel") -> $(basename "$new_wheel")"
200+
mv "$wheel" "$new_wheel"
201+
fi
202+
done
203+
shell: bash
204204

205205
- name: Test
206206
run: |
@@ -219,7 +219,7 @@ jobs:
219219
- name: Upload build Artifact wheel
220220
uses: actions/upload-artifact@v4
221221
with:
222-
name: wheel-mac-${{ matrix.raylib-platform }}-${{ matrix.python-version }}
222+
name: wheel-mac-arm64-${{ matrix.raylib-platform }}-${{ matrix.python-version }}
223223
path: dist/*
224224

225225

@@ -500,7 +500,7 @@ jobs:
500500
path: dynamic/dist/*
501501

502502
merge:
503-
needs: [build-mac-intel, build-windows, build-linux, source-distro, dynamic-distro]
503+
needs: [build-mac-intel, build-mac-arm64, build-windows, build-linux, source-distro, dynamic-distro]
504504
runs-on: ubuntu-latest
505505
steps:
506506
- name: Merge All Artifacts

0 commit comments

Comments
 (0)