diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index a7b93a2..f8b7748 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -159,14 +159,15 @@ jobs: matrix: path: - "src" - - "include" + - "capiocl" - "tests" - "bindings" - "capiocl.hpp" 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 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