Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 23 additions & 12 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,34 @@ jobs:
name: Build wheel on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-13]
os: [ubuntu-latest, ubuntu-24.04-arm, macos-15, macos-13, windows-latest] # Use specific versions for clarity
arch: [x86_64, arm64]
exclude:
- os: ubuntu-24.04-arm # No need to specify arch, it's already implicit
arch: x86_64 # Exclude x86_64 on ARM
- os: macos-15 # Exclude macOS 14 (Sonoma)
arch: x86_64 # Exclude x86_64 explicitly
- os: macos-13 # Exclude macOS 13 (Ventura) - arm64
arch: arm64 # Exclude arm64 on macOS 13
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.11'
- name: Install cibuildwheel
run: |
python -m pip install cibuildwheel==2.22.0
- name: Build wheel
run: |
python -m cibuildwheel --output-dir dist
- uses: actions/upload-artifact@v3
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
CIBW_SKIP: "cp*-manylinux_i686 cp*-musllinux* cp*-win32"
- uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.pybuilds }}
path: dist/

release:
Expand All @@ -35,13 +46,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Tag Version
id: set_tag
run: |
export V=$(python -c "print(next(iter(eval(L.split('=')[-1]) for L in open('pyproject.toml') if 'version =' in L)))")
echo "tag=${V}" >> "$GITHUB_ENV"
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- name: Create Release
uses: ncipollo/release-action@v1
with:
Expand All @@ -57,10 +68,10 @@ jobs:
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download Wheels
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: wheels
packages-dir: wheels
48 changes: 31 additions & 17 deletions ci/embree.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,51 @@
[
{
"extract_skip": ["bin/*", "doc/*"],
"name": "embree2",
"name": "embree4",
"platform": "linux",
"sha256": "2c4bdacd8f3c3480991b99e85b8f584975ac181373a75f3e9675bf7efae501fe",
"arch": "x86_64",
"sha256": "757e6e8b987d13ac34aa7c4c3657120fd54a78c2a1034e30dda5cd5df06f3cdd",
"strip_components": 1,
"target": "../embree2",
"url": "https://github.com/embree/embree/releases/download/v2.17.7/embree-2.17.7.x86_64.linux.tar.gz"
"target": "../embree4",
"url": "https://github.com/RenderKit/embree/releases/download/v4.3.3/embree-4.3.3.x86_64.linux.tar.gz"
},
{
"extract_skip": ["bin/*", "doc/*"],
"name": "embree2",
"platform": "mac",
"sha256": "48a2e81d6ccc8782c37f811afe2290969b288ee7264fdf5273eac349921c05df",
"name": "embree4",
"platform": "linux",
"arch": "x86_64",
"sha256": "757e6e8b987d13ac34aa7c4c3657120fd54a78c2a1034e30dda5cd5df06f3cdd",
"strip_components": 1,
"target": "../embree2",
"url": "https://github.com/embree/embree/releases/download/v2.17.7/embree-2.17.7.x86_64.macosx.tar.gz"
"target": "../embree4",
"url": "https://github.com/RenderKit/embree/releases/download/v4.3.3/embree-4.3.3.aarch64.linux.tar.gz"
},
{
"name": "embree2",
"platform": "windows",
"sha256": "6fb7c828eef6cfe7186a5c002b52157a0d67471cf2c3072c3dced7d480071907",
"target": "../embree2",
"extract_skip": ["bin/*", "doc/*"],
"name": "embree4",
"platform": "mac",
"arch": "arm64",
"sha256": "ee310bcd8480ed82f2be29289b9a811c83db6a36160c8afdcb61bb4de4d337df",
"strip_components": 1,
"url": "https://github.com/embree/embree/releases/download/v2.17.7/embree-2.17.7.x64.windows.zip"
"target": "../embree4",
"url": "https://github.com/RenderKit/embree/releases/download/v4.3.3/embree-4.3.3.arm64.macosx.zip"
},
{
"extract_skip": ["bin/*", "doc/*"],
"name": "embree4",
"platform": "linux",
"sha256": "524842e2f141dca0db584c33a0821176373e7058f3ec2201bfb19d9e9a1b80b9",
"platform": "mac",
"arch": "x86_64",
"sha256": "98997523dfff8efd8120075f7feba00cfc765c992d758d9be12d56bfe6bec233",
"strip_components": 1,
"target": "../embree4",
"url": "https://github.com/embree/embree/releases/download/v4.0.0/embree-4.0.0.x86_64.linux.tar.gz"
"url": "https://github.com/RenderKit/embree/releases/download/v4.3.3/embree-4.3.3.x86_64.macosx.zip"
},
{
"name": "embree4",
"platform": "windows",
"arch": "amd64",
"sha256": "d4c07f88df9f009dd84e4e9b9dcec32ad7d96f927bd88de00b721b0923d481a9",
"target": "../embree4",
"strip_components": 1,
"url": "https://github.com/RenderKit/embree/releases/download/v4.3.3/embree-4.3.3.x64.windows.zip"
}
]
Loading