diff --git a/.github/workflows/python-bindings.yml b/.github/workflows/python-bindings.yml index bd335f0..92a7d89 100644 --- a/.github/workflows/python-bindings.yml +++ b/.github/workflows/python-bindings.yml @@ -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 diff --git a/.gitignore b/.gitignore index 8a4f4c0..8e6e4f2 100644 --- a/.gitignore +++ b/.gitignore @@ -49,4 +49,5 @@ dist/** *.dwo **.DS_Store -*build* \ No newline at end of file +*build* +*capiocl_logs* \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index ac6a366..ab64e79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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) diff --git a/README.md b/README.md index f83498a..6ae0433 100644 --- a/README.md +++ b/README.md @@ -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.