Skip to content

Commit 2809ce2

Browse files
committed
ci: Merge in latest main
2 parents 9ed5900 + c2b134d commit 2809ce2

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

.github/workflows/build-wheel.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,11 @@ jobs:
121121
# Verify wheel structure
122122
twine check dist/*
123123
124+
<<<<<<< HEAD
124125
- name: Build macOS wheel
126+
=======
127+
- name: Build macOS wheel (Universal)
128+
>>>>>>> main
125129
if: runner.os == 'macOS'
126130
run: |
127131
# Create necessary directories
@@ -147,6 +151,7 @@ jobs:
147151
exit 1
148152
fi
149153
154+
<<<<<<< HEAD
150155
# Determine platform name based on target architecture
151156
if [ "${{ inputs.architecture }}" = "universal2" ]; then
152157
PLATFORM_NAME="macosx_10_9_universal2"
@@ -164,11 +169,19 @@ jobs:
164169

165170
# Build wheel with appropriate platform name
166171
python setup.py bdist_wheel --plat-name $PLATFORM_NAME
172+
=======
173+
# Build wheel
174+
python setup.py bdist_wheel --plat-name macosx_10_9_universal2
175+
>>>>>>> main
167176

168177
# Rename wheel to ensure unique filename
169178
cd dist
170179
for wheel in *.whl; do
180+
<<<<<<< HEAD
171181
mv "$wheel" "${wheel/$PLATFORM_NAME/$PLATFORM_NAME}"
182+
=======
183+
mv "$wheel" "${wheel/macosx_10_9_universal2/macosx_10_9_universal2}"
184+
>>>>>>> main
172185
done
173186
cd ..
174187

.github/workflows/build.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,12 +326,20 @@ jobs:
326326
.\venv\Scripts\pytest .\tests\test_unit_tests.py -v
327327
328328
build-macos-wheel:
329+
<<<<<<< HEAD
329330
name: Build macOS wheels
331+
=======
332+
name: Build macOS wheel (Universal)
333+
>>>>>>> main
330334
uses: ./.github/workflows/build-wheel.yml
331335
needs: [tests-unix, read-version]
332336
with:
333337
python-version: "3.10"
338+
<<<<<<< HEAD
334339
runs-on: ${{ matrix.runs-on }}
340+
=======
341+
runs-on: macos-latest
342+
>>>>>>> main
335343
artifact-name: wheels-macos-${{ matrix.target }}
336344
architecture: ${{ matrix.target }}
337345
c2pa-version: ${{ needs.read-version.outputs.c2pa-native-version }}
@@ -342,10 +350,13 @@ jobs:
342350
include:
343351
- target: universal2
344352
runs-on: macos-latest
353+
<<<<<<< HEAD
345354
- target: arm64
346355
runs-on: macos-latest
347356
- target: x86_64
348357
runs-on: macos-13
358+
=======
359+
>>>>>>> main
349360

350361
if: |
351362
github.event_name != 'pull_request' ||
@@ -355,15 +366,25 @@ jobs:
355366
contains(github.event.pull_request.labels.*.name, 'safe to test')
356367
357368
test-built-macos-wheel:
369+
<<<<<<< HEAD
358370
name: Test macOS built wheels
371+
=======
372+
name: Test macOS built wheel (Universal)
373+
>>>>>>> main
359374
needs: build-macos-wheel
360375
runs-on: ${{ matrix.runs-on }}
361376
strategy:
362377
matrix:
363378
include:
379+
<<<<<<< HEAD
364380
- target: arm64
365381
runs-on: macos-latest
366382
- target: x86_64
383+
=======
384+
- target: universal2
385+
runs-on: macos-latest
386+
- target: universal2
387+
>>>>>>> main
367388
runs-on: macos-13
368389

369390
if: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "c2pa-python"
7-
version = "0.14.0-alpha"
7+
version = "0.16.0-alpha"
88
requires-python = ">=3.10"
99
description = "Python bindings for the C2PA Content Authenticity Initiative (CAI) library"
1010
readme = { file = "README.md", content-type = "text/markdown" }

0 commit comments

Comments
 (0)