-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from BhavyeMathur/pybind11
Migrated the C++ Extension to Pybind11
- Loading branch information
Showing
153 changed files
with
2,192 additions
and
10,819 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# This workflow builds Python wheels & a source distribution for goopylib | ||
|
||
name: "Build Wheels" | ||
run-name: ${{ github.actor }} building wheels | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
workflow_run: | ||
workflows: [ Build Binary ] | ||
types: | ||
- completed | ||
|
||
env: | ||
BUILD_TYPE: Release | ||
|
||
jobs: | ||
build-source-distribution: | ||
name: Build source distribution | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Install dependencies | ||
run: python -m pip install build | ||
|
||
- name: Create source distribution | ||
run: python -m build --sdist | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: goopylib-source-distribution | ||
path: dist/ | ||
|
||
build-wheels: | ||
name: Build ${{ matrix.os }} Python wheels | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ windows-latest, macos-latest ] | ||
python: [ "cp38-", "cp39-", "cp310-", "cp311-" ] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
|
||
- name: Build Python wheels | ||
env: | ||
CIBW_BUILD: ${{ matrix.python }}* | ||
uses: pypa/[email protected] | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: goopylib-${{ matrix.python }}${{ matrix.os }}-wheels | ||
path: wheelhouse/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
goopylib module initialization | ||
""" | ||
|
||
# pylint: disable=import-error | ||
from .color import * |
Oops, something went wrong.