Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ jobs:
- name: Build and test with uv
run: |
uv venv --python ${{ matrix.python-version }}
CMAKE_ARGS="-DENABLE_GLCACHE=OFF -DENABLE_LRB=OFF -DENABLE_3L_CACHE=OFF" uv pip install -e .[dev] -vvv
uv pip install -e .[dev] -vvv
uv run python -c "import libcachesim; print('✓ Import successful for Python ${{ matrix.python-version }} on ${{ matrix.os }}')"

- name: Run tests
run: |
if [ -d "tests" ]; then
uv run python -m pytest tests/ -v
uv run python -m pytest tests/ -v -m "not optional"
uv run python -m pytest tests/ -v -m "optional"
else
echo "No tests directory found, skipping tests"
fi
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ endif()
message(STATUS "CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")

# Options
option(ENABLE_GLCACHE "Enable group-learned cache" ON)
option(ENABLE_LRB "Enable LRB" ON)
option(ENABLE_3L_CACHE "Enable 3LCache" ON)
option(ENABLE_GLCACHE "Enable group-learned cache" OFF)
option(ENABLE_LRB "Enable LRB" OFF)
option(ENABLE_3L_CACHE "Enable 3LCache" OFF)

# C++ standard
set(CMAKE_CXX_STANDARD 17)
Expand Down
23 changes: 16 additions & 7 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,24 @@ docs_dir: src
nav:
- Home:
- libCacheSim Python: index.md
- Getting Started:
- Quick Start: quickstart.md
- Getting Started:
- getting_started/quickstart.md
- getting_started/installation.md
- Examples:
- examples/simulation.md
- examples/analysis.md
- examples/plugins.md
- User Guide:
- FAQ: faq.md
- Developer Guide:
- General: developer.md
- API Reference:
- API Documentation: api.md
- Examples:
- Usage Examples: examples.md

theme:
name: material
logo: assets/logos/logo-only-light.ico
favicon: assets/logos/logo-only-light.ico
# logo: assets/logos/logo-only-light.ico
# favicon: assets/logos/logo-only-light.ico
language: en
palette:
# Palette toggle for automatic mode
Expand Down Expand Up @@ -77,7 +84,9 @@ plugins:
build: true
nav_translations:
Home: 首页
Quick Start: 快速开始
Getting Started: 快速开始
User Guide: 用户指南
Developer Guide: 开发者指南
API Reference: API参考
Examples: 使用示例

Expand Down
Binary file added docs/src/assets/logos/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading