Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions .github/workflows/kdmp-parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,14 @@ jobs:
matrix:
variant:
# Available runners: https://github.com/actions/runner-images
- {os: windows-2019, generator: msvc, arch: x64, config: RelWithDebInfo, }
- {os: windows-2019, generator: msvc, arch: win32, config: RelWithDebInfo, }
- {os: windows-2025, generator: msvc, arch: x64, config: RelWithDebInfo, }
- {os: windows-2025, generator: msvc, arch: win32, config: RelWithDebInfo, }
- {os: ubuntu-22.04, generator: gcc, arch: x64, config: RelWithDebInfo, }
- {os: ubuntu-22.04, generator: clang, arch: x64, config: RelWithDebInfo, }
- {os: ubuntu-24.04, generator: gcc, arch: x64, config: RelWithDebInfo, }
- {os: ubuntu-24.04, generator: clang, arch: x64, config: RelWithDebInfo, }
- {os: macos-13, generator: clang, arch: x64, config: Release, }
# - {os: macos-13-xlarge, generator: clang, arch: arm64, config: Release, } # Paying runner
- {os: macos-14, generator: clang, arch: arm64, config: Release, }
# - {os: macos-14-large, generator: clang, arch: x64, config: Release, } # Paying runner
- {os: macos-15-intel, generator: clang, arch: x64, config: Release, }
- {os: macos-15, generator: clang, arch: arm64, config: Release, }
runs-on: ${{ matrix.variant.os }}
name: parser / ${{ matrix.variant.os }} / ${{ matrix.variant.generator }} / ${{ matrix.variant.arch }}
env:
Expand All @@ -53,7 +51,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Retrieve testdatas
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -113,17 +111,16 @@ jobs:
matrix:
variant:
# Available runners: https://github.com/actions/runner-images
- {os: windows-2019, config: RelWithDebInfo }
- {os: ubuntu-22.04, config: RelWithDebInfo }
# most up to date free intel based osx?
- {os: macos-13, config: Release }
- {os: windows-2025, config: RelWithDebInfo }
- {os: ubuntu-22.04, config: RelWithDebInfo }
- {os: macos-15-intel, config: Release }
runs-on: ${{ matrix.variant.os }}
name: bindings / ${{ matrix.variant.os }}
env:
CMAKE_FLAGS: "-DBUILD_PARSER:BOOL=OFF -DBUILD_TESTS:BOOL=OFF -DBUILD_PYTHON_BINDING:BOOL=ON"
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Retrieve testdatas
uses: actions/download-artifact@v4
Expand All @@ -132,7 +129,7 @@ jobs:
path: .

- name: Build / test wheels
uses: pypa/cibuildwheel@v2.19.1
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_BEFORE_TEST: pip install -U -r {project}/src/python/tests/requirements.txt
with:
Expand Down
2 changes: 1 addition & 1 deletion src/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ list(APPEND CMAKE_PREFIX_PATH "${NB_DIR}")

find_package(nanobind CONFIG REQUIRED)

nanobind_add_module(_kdmp_parser NB_STATIC src/kdmp_parser.cc)
nanobind_add_module(_kdmp_parser STABLE_ABI src/kdmp_parser.cc)

if(BUILD_PYTHON_PACKAGE)
#
Expand Down
1 change: 0 additions & 1 deletion src/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ cmake.args = ["-DBUILD_PYTHON_PACKAGE:BOOL=ON"]

[tool.cibuildwheel]
build-verbosity = 1
skip = "cp37-* pp* *musllinux*"
test-command = "pytest -vvv {project}/src/python/tests"

[tool.cibuildwheel.macos.environment]
Expand Down
1 change: 1 addition & 0 deletions src/python/src/kdmp_parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include "kdmp-parser.h"

#include <cstring>
#include <nanobind/nanobind.h>
#include <nanobind/stl/array.h>
#include <nanobind/stl/bind_map.h>
Expand Down
Loading