From 0f613c42d5fdf2b3b4b1b9d04d0ce59b7fa08bfd Mon Sep 17 00:00:00 2001 From: Marco Edoardo Santimaria Date: Sun, 15 Feb 2026 17:36:14 +0000 Subject: [PATCH 1/2] Updated broken clang-format dependency in the action workflow --- .github/workflows/ci-test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index a7b93a2..63bc27e 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -166,7 +166,8 @@ jobs: steps: - uses: actions/checkout@v4 - name: "Run clang-format style check" - uses: jidicula/clang-format-action@v4.16.0 + uses: DoozyX/clang-format-lint-action@v0.20 with: - clang-format-version: "16" - check-path: "${{ matrix.path }}" \ No newline at end of file + source: ${{matrix.path}} + extensions: 'h,cpp,c' + clangFormatVersion: 20 \ No newline at end of file From 2f3c6c591fe7e2012e493cd8e025c9ea38c4ea9f Mon Sep 17 00:00:00 2001 From: Marco Edoardo Santimaria Date: Sun, 15 Feb 2026 17:57:37 +0000 Subject: [PATCH 2/2] Fixed matrix --- .github/workflows/ci-test.yml | 2 +- .github/workflows/python-bindings.yml | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 63bc27e..f8b7748 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -159,7 +159,7 @@ jobs: matrix: path: - "src" - - "include" + - "capiocl" - "tests" - "bindings" - "capiocl.hpp" diff --git a/.github/workflows/python-bindings.yml b/.github/workflows/python-bindings.yml index dde28d8..8b09661 100644 --- a/.github/workflows/python-bindings.yml +++ b/.github/workflows/python-bindings.yml @@ -108,7 +108,7 @@ jobs: uses: uraimo/run-on-arch-action@v2 with: arch: riscv64 - distro: ubuntu22.04 + distro: ubuntu_latest githubToken: ${{ github.token }} install: | @@ -121,8 +121,7 @@ jobs: set -eux echo "Building for RISC-V on Ubuntu 22.04" - python3 -m pip install --upgrade pip - python3 -m pip install -r build-requirements.txt + python3 -m pip install -r build-requirements.txt --break-system-packages mkdir -p /tmp/capio_cl_jsons mkdir -p /tmp/capio_cl_tomls @@ -134,7 +133,7 @@ jobs: -Ccmake.build-type=Release \ -Ccmake.define.CAPIO_CL_BUILD_TESTS=OFF - pip install dist/*.whl - python3 -m pip install -r test-requirements.txt + pip install dist/*.whl --break-system-packages + python3 -m pip install -r test-requirements.txt --break-system-packages pytest -v tests/python/test_* | tee pytest-riscv.log