diff --git a/.github/workflows/wheels.yaml b/.github/workflows/wheels.yaml new file mode 100644 index 0000000..39f2c29 --- /dev/null +++ b/.github/workflows/wheels.yaml @@ -0,0 +1,33 @@ +name: Build + +on: [push, pull_request] + +jobs: + build_wheels: + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-20.04, windows-2019, macOS-11] + + steps: + - uses: actions/checkout@v3 + + # Used to host cibuildwheel + - uses: actions/setup-python@v3 + + - name: Install cibuildwheel + run: python -m pip install cibuildwheel==2.10.2 + + - name: Build wheels + run: python -m cibuildwheel --output-dir wheelhouse + # to supply options, put them in 'env', like: + # env: + # CIBW_SOME_OPTION: value + env: + CIBW_BUILD: cp39-* cp310-* + CIBW_SKIP: cp*-win32 + + - uses: actions/upload-artifact@v3 + with: + path: ./wheelhouse/*.whl \ No newline at end of file diff --git a/main b/main new file mode 100644 index 0000000..e69de29 diff --git a/pyreaddbc/_readdbc.c b/pyreaddbc/_readdbc.c index e2d49a7..5232d51 100644 --- a/pyreaddbc/_readdbc.c +++ b/pyreaddbc/_readdbc.c @@ -597,7 +597,7 @@ static void (*_cffi_call_python_org)(struct _cffi_externpy_s *, char *); #include #include -#include +//#include #include #include #include diff --git a/pyreaddbc/c-src/dbc2dbf.c b/pyreaddbc/c-src/dbc2dbf.c index 91fae03..92b0355 100644 --- a/pyreaddbc/c-src/dbc2dbf.c +++ b/pyreaddbc/c-src/dbc2dbf.c @@ -29,7 +29,7 @@ #include #include -#include +//#include #include #include #include