Skip to content

Commit e0a8cf6

Browse files
authored
Merge pull request #3 from JiantingFeng/main
Chore and CI Enhancements
2 parents 280c263 + b2cf097 commit e0a8cf6

File tree

5 files changed

+34
-471
lines changed

5 files changed

+34
-471
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,14 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
os: [ubuntu-20.04, windows-2019]
11+
os: [ubuntu-latest, windows-latest]
1212

1313
steps:
14-
# Install poetry
1514
- uses: actions/checkout@v4
16-
- name: Install poetry
17-
run: pipx install poetry
1815

19-
# Used to host poetry
20-
- uses: actions/setup-python@v3
21-
- name: Lock and install dependencies
22-
run: |
23-
poetry lock
24-
poetry install
25-
26-
- name: Build wheel package
27-
run: poetry run python setup.py bdist_wheel
16+
- uses: pypa/cibuildwheel@v2.16
2817

2918
- uses: actions/upload-artifact@v4
3019
with:
3120
name: rehline-wheels-${{ matrix.os }}-${{ strategy.job-index }}
32-
path: ./dist
21+
path: ./wheelhouse/*.whl

CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
cmake_minimum_required(VERSION 3.0)
2+
project(rehline LANGUAGES CXX)
3+
4+
set(PYBIND11_FINDPYTHON ON)
5+
find_package(pybind11 CONFIG REQUIRED)
6+
7+
pybind11_add_module(rehline MODULE src/rehline.cpp)
8+
9+
install(TARGETS rehline DESTINATION .)

build.py

Lines changed: 0 additions & 85 deletions
This file was deleted.

0 commit comments

Comments
 (0)