File tree Expand file tree Collapse file tree 5 files changed +34
-471
lines changed Expand file tree Collapse file tree 5 files changed +34
-471
lines changed Original file line number Diff line number Diff line change 8
8
runs-on : ${{ matrix.os }}
9
9
strategy :
10
10
matrix :
11
- os : [ubuntu-20.04 , windows-2019 ]
11
+ os : [ubuntu-latest , windows-latest ]
12
12
13
13
steps :
14
- # Install poetry
15
14
- uses : actions/checkout@v4
16
- - name : Install poetry
17
- run : pipx install poetry
18
15
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
28
17
29
18
- uses : actions/upload-artifact@v4
30
19
with :
31
20
name : rehline-wheels-${{ matrix.os }}-${{ strategy.job-index }}
32
- path : ./dist
21
+ path : ./wheelhouse/*.whl
Original file line number Diff line number Diff line change
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 . )
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments