From 7fd0ce464b0323189d2c5629996ae86986cf3d98 Mon Sep 17 00:00:00 2001 From: StudioWEngineers Date: Fri, 21 Nov 2025 14:41:12 +0100 Subject: [PATCH 1/4] reduce number of tests --- .github/workflows/workflow_ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow_ci.yml b/.github/workflows/workflow_ci.yml index f818d4c..0aaaafe 100644 --- a/.github/workflows/workflow_ci.yml +++ b/.github/workflows/workflow_ci.yml @@ -50,7 +50,7 @@ jobs: fail-fast: false matrix: os: ['windows-latest', 'macos-15', 'ubuntu-latest'] - python: ['3.12', '3.13', '3.14', '3.15.0-alpha.1'] + python: ['3.14'] name: "Python ${{ matrix.python }} / ${{ matrix.os }}" runs-on: ${{ matrix.os }} @@ -100,7 +100,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu-latest'] - python: [pypy3.9, pypy3.10] + python: [pypy3.10] name: "Python ${{ matrix.python }} / ${{ matrix.os }}" runs-on: ${{ matrix.os }} @@ -154,7 +154,7 @@ jobs: fail-fast: false matrix: os: ['windows-latest'] - python: ['3.12', '3.13', '3.14', '3.15.0-alpha.1'] + python: ['3.12'] name: "Python ${{ matrix.python }} / ${{ matrix.os }} / CLANG" runs-on: ${{ matrix.os }} From c7b61cb1dde9bcdfec3fcb1188b06440a51d18f7 Mon Sep 17 00:00:00 2001 From: StudioWEngineers Date: Fri, 21 Nov 2025 14:47:02 +0100 Subject: [PATCH 2/4] try to build with draco --- .github/workflows/workflow_ci.yml | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/.github/workflows/workflow_ci.yml b/.github/workflows/workflow_ci.yml index 0aaaafe..c37668b 100644 --- a/.github/workflows/workflow_ci.yml +++ b/.github/workflows/workflow_ci.yml @@ -203,3 +203,55 @@ jobs: cd tests python -m unittest discover --verbose shell: bash + + cpython_build_with_draco_and_test: + needs: [check_relevant_changes] + if: needs.check_relevant_changes.outputs.any_changed == 'true' + + strategy: + fail-fast: false + matrix: + os: ['windows-latest', 'macos-15', 'ubuntu-latest'] + python: ['3.14'] + + name: "Python ${{ matrix.python }} / ${{ matrix.os }}" + runs-on: ${{ matrix.os }} + + steps: + - name: set up python ${{ matrix.python }} + uses: actions/setup-python@v5.4.0 + with: + python-version: ${{ matrix.python }} + + - name: install the latest CMake + uses: lukka/get-cmake@latest + + - name: install dependencies + run: python -m pip install --upgrade pip setuptools wheel build scikit-build-core + + - name: Install libuuid (dev headers and linker support) + if: runner.os == 'Linux' + run: sudo apt-get update && sudo apt-get install -y uuid-dev + + - name: checkout + uses: actions/checkout@v4.1.1 + + - name: update submodules + run: git submodule update --init --recursive + + - name: build ${{ matrix.python }} ${{ matrix.os }} + run: | + export INCLUDE_DRACO=ON + python -m build + + - name: install package + run: | + cd dist + python -m pip install *.whl + shell: bash + + - name: test ${{ matrix.python }} ${{ matrix.os }} + run: | + cd tests + python -m unittest discover --verbose + shell: bash From 23dd7575a16d6e94cfb1d02f31812ad9adff790e Mon Sep 17 00:00:00 2001 From: StudioWEngineers Date: Fri, 21 Nov 2025 14:52:00 +0100 Subject: [PATCH 3/4] use shell: bash --- .github/workflows/workflow_ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/workflow_ci.yml b/.github/workflows/workflow_ci.yml index c37668b..2b91a5a 100644 --- a/.github/workflows/workflow_ci.yml +++ b/.github/workflows/workflow_ci.yml @@ -243,6 +243,7 @@ jobs: run: | export INCLUDE_DRACO=ON python -m build + shell: bash - name: install package run: | From 18f7596448f589922e9ec0909cd627713e1f05a5 Mon Sep 17 00:00:00 2001 From: StudioWEngineers Date: Fri, 21 Nov 2025 15:05:13 +0100 Subject: [PATCH 4/4] fix attempt II --- .github/workflows/workflow_ci.yml | 115 +----------------------------- 1 file changed, 1 insertion(+), 114 deletions(-) diff --git a/.github/workflows/workflow_ci.yml b/.github/workflows/workflow_ci.yml index 2b91a5a..eeba7a6 100644 --- a/.github/workflows/workflow_ci.yml +++ b/.github/workflows/workflow_ci.yml @@ -92,118 +92,6 @@ jobs: python -m unittest discover --verbose shell: bash - pypy_build_build_and_test: - needs: [check_relevant_changes] - if: needs.check_relevant_changes.outputs.any_changed == 'true' - - strategy: - fail-fast: false - matrix: - os: ['ubuntu-latest'] - python: [pypy3.10] - - name: "Python ${{ matrix.python }} / ${{ matrix.os }}" - runs-on: ${{ matrix.os }} - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: update submodules - run: git submodule update --init --recursive - - - name: Set up ${{ matrix.python }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python }} - architecture: x64 - - - name: Display Python version - run: | - python --version - python -c "import sys; print(sys.implementation)" - - - name: Manually install build dependencies - run: | - python -m pip install --upgrade pip - pip install scikit-build-core>=0.11.5 nanobind build - - - name: Install libuuid (dev headers and linker support) - if: runner.os == 'Linux' - run: sudo apt-get update && sudo apt-get install -y uuid-dev - - - name: Build wheel without build isolation - run: | - python -m build --wheel --no-isolation - - - name: Install built wheel - run: | - pip install --no-deps --ignore-requires-python dist/*.whl - - - name: test ${{ matrix.python }} / ${{ matrix.os }}" - run: | - cd tests - python -m unittest discover --verbose - shell: bash - - cpython_build_and_test_clang_on_windows: - needs: [check_relevant_changes] - if: needs.check_relevant_changes.outputs.any_changed == 'true' - - strategy: - fail-fast: false - matrix: - os: ['windows-latest'] - python: ['3.12'] - - name: "Python ${{ matrix.python }} / ${{ matrix.os }} / CLANG" - runs-on: ${{ matrix.os }} - - steps: - - name: set up python ${{ matrix.python }} - uses: actions/setup-python@v5.4.0 - with: - python-version: ${{ matrix.python }} - - - name: install the latest CMake - uses: lukka/get-cmake@latest - - - name: install Ninja - run: choco install ninja - - - name: install LLVM/Clang - uses: egor-tensin/setup-clang@v1 - - - name: install dependencies - run: python -m pip install --upgrade pip setuptools wheel build scikit-build-core nanobind - - - name: checkout - uses: actions/checkout@v4.1.1 - - - name: update submodules - run: git submodule update --init --recursive - - - name: build ${{ matrix.python }} ${{ matrix.os }} - run: | - $env:CC = "clang" - $env:CXX = "clang++" - $env:SKBUILD_CMAKE_ARGS = "-G Ninja" - $env:SKBUILD_CMAKE_DEFINE = "CMAKE_C_COMPILER=clang;CMAKE_CXX_COMPILER=clang++;CMAKE_CXX_FLAGS=-Wno-c++11-narrowing" - python -m build --no-isolation - shell: pwsh - - - name: install package - run: | - cd dist - python -m pip install *.whl - shell: bash - - - name: test ${{ matrix.python }} ${{ matrix.os }} - run: | - cd tests - python -m unittest discover --verbose - shell: bash - cpython_build_with_draco_and_test: needs: [check_relevant_changes] if: needs.check_relevant_changes.outputs.any_changed == 'true' @@ -241,8 +129,7 @@ jobs: - name: build ${{ matrix.python }} ${{ matrix.os }} run: | - export INCLUDE_DRACO=ON - python -m build + python -m build --cmake-args -DINCLUDE_DRACO=ON shell: bash - name: install package