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
100 changes: 50 additions & 50 deletions .github/workflows/python-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,53 +106,53 @@ jobs:
retention-days: 1
if-no-files-found: error

riscv-tests:
name: "Build & Test on RISC-V (QEMU)"
strategy:
matrix:
python: [ '3.10', '3.11', '3.12', '3.13', '3.14' ]
runs-on: ubuntu-latest

env:
INSTALL_PREFIX: "/usr/local"
PYTHON_VERSION: "${{ matrix.python }}"

steps:
- name: "Checkout repository"
uses: actions/checkout@v7

- name: "Build and test inside RISC-V emulated environment (Debian based)"
uses: uraimo/run-on-arch-action@v3
with:
arch: riscv64
distro: ubuntu22.04
githubToken: ${{ github.token }}

install: |
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y \
python3 python3-pip python3-venv python3-wheel python3-setuptools \
g++ cmake ninja-build git

run: |
set -eux
echo "Building for RISC-V on Ubuntu 22.04"
python3 -m pip install -r build-requirements.txt #--break-system-packages
mkdir -p /tmp/capio_cl_jsons
mkdir -p /tmp/capio_cl_tomls
cp -r tests/jsons/* /tmp/capio_cl_jsons
cp -r tests/tomls/* /tmp/capio_cl_tomls
python3 -m build \
-Ccmake.define.ENABLE_COVERAGE=OFF \
-Ccmake.build-type=Release \
-Ccmake.define.CAPIO_CL_BUILD_TESTS=OFF
pip install dist/*.whl #--break-system-packages
python3 -m pip install -r test-requirements.txt #--break-system-packages

export PYTHONUNBUFFERED=1
pytest -vvv -s --timeout=120 --timeout-method=thread \
tests/python/test_bindings.py tests/python/test_parser_serializer.py
# riscv-tests:
# name: "Build & Test on RISC-V (QEMU)"
# strategy:
# matrix:
# python: [ '3.10', '3.11', '3.12', '3.13', '3.14' ]
# runs-on: ubuntu-latest
#
# env:
# INSTALL_PREFIX: "/usr/local"
# PYTHON_VERSION: "${{ matrix.python }}"
#
# steps:
# - name: "Checkout repository"
# uses: actions/checkout@v7
#
# - name: "Build and test inside RISC-V emulated environment (Debian based)"
# uses: uraimo/run-on-arch-action@v3
# with:
# arch: riscv64
# distro: ubuntu22.04
# githubToken: ${{ github.token }}
#
# install: |
# apt-get update
# DEBIAN_FRONTEND=noninteractive apt-get install -y \
# python3 python3-pip python3-venv python3-wheel python3-setuptools \
# g++ cmake ninja-build git
#
# run: |
# set -eux
# echo "Building for RISC-V on Ubuntu 22.04"
#
# python3 -m pip install -r build-requirements.txt #--break-system-packages
#
# mkdir -p /tmp/capio_cl_jsons
# mkdir -p /tmp/capio_cl_tomls
# cp -r tests/jsons/* /tmp/capio_cl_jsons
# cp -r tests/tomls/* /tmp/capio_cl_tomls
#
# python3 -m build \
# -Ccmake.define.ENABLE_COVERAGE=OFF \
# -Ccmake.build-type=Release \
# -Ccmake.define.CAPIO_CL_BUILD_TESTS=OFF
#
# pip install dist/*.whl #--break-system-packages
# python3 -m pip install -r test-requirements.txt #--break-system-packages
#
# export PYTHONUNBUFFERED=1
# pytest -vvv -s --timeout=120 --timeout-method=thread \
# tests/python/test_bindings.py tests/python/test_parser_serializer.py
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ dist/**
*.dwo
**.DS_Store

*build*
*build*
*capiocl_logs*
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.15)
project(CAPIO-CL
LANGUAGES CXX
DESCRIPTION "Cross-Application Programmable IO - Coordination Language"
VERSION 1.5.0
VERSION 1.5.1
)

set(CMAKE_CXX_STANDARD 17)
Expand Down Expand Up @@ -60,7 +60,7 @@ FetchContent_Declare(
FetchContent_Declare(
calf
GIT_REPOSITORY https://github.com/High-Performance-IO/calf.git
GIT_TAG v0.2.0
GIT_TAG v0.3.0
)

set(CALF_PROTOBUF ON CACHE BOOL "" FORCE)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ At runtime, CAPIO-CL’s parser and engine components analyze, track, and manage
config files
- [GoogleTest](https://github.com/google/googletest) for automated testing
- [pybind11](https://github.com/pybind/pybind11) when building python wheels
- [CALF](https://github.com/High-Performance-IO/CALF) for both logs and CLI messages

jsoncons, GoogleTest and pybind11 are fetched automatically by CMake — no manual setup required.

Expand Down
Loading