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
9 changes: 5 additions & 4 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
source: ${{matrix.path}}
extensions: 'h,cpp,c'
clangFormatVersion: 20
9 changes: 4 additions & 5 deletions .github/workflows/python-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand All @@ -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
Loading