Skip to content

Commit

Permalink
Merge pull request #3 from JiantingFeng/main
Browse files Browse the repository at this point in the history
Chore and CI Enhancements
  • Loading branch information
statmlben authored Apr 24, 2024
2 parents 280c263 + b2cf097 commit e0a8cf6
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 471 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, windows-2019]
os: [ubuntu-latest, windows-latest]

steps:
# Install poetry
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry

# Used to host poetry
- uses: actions/setup-python@v3
- name: Lock and install dependencies
run: |
poetry lock
poetry install
- name: Build wheel package
run: poetry run python setup.py bdist_wheel
- uses: pypa/[email protected]

- uses: actions/upload-artifact@v4
with:
name: rehline-wheels-${{ matrix.os }}-${{ strategy.job-index }}
path: ./dist
path: ./wheelhouse/*.whl
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
cmake_minimum_required(VERSION 3.0)
project(rehline LANGUAGES CXX)

set(PYBIND11_FINDPYTHON ON)
find_package(pybind11 CONFIG REQUIRED)

pybind11_add_module(rehline MODULE src/rehline.cpp)

install(TARGETS rehline DESTINATION .)
85 changes: 0 additions & 85 deletions build.py

This file was deleted.

Loading

0 comments on commit e0a8cf6

Please sign in to comment.