Skip to content

Commit 7ec91a9

Browse files
authored
Fix: Resolve cache obj double free (#16)
* Fix cache simulation usages * Fix build workflow * Remove pre-built requirement * Fix ci build wheels * Fix clang options * Forbid lrb 3l gl in workflow * Refine CMakeLists
1 parent d86e9c1 commit 7ec91a9

File tree

9 files changed

+975
-164
lines changed

9 files changed

+975
-164
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,14 @@ jobs:
2626
- name: Set up Python ${{ matrix.python-version }}
2727
run: uv python install ${{ matrix.python-version }}
2828

29-
- name: Install system dependencies (Ubuntu)
30-
if: matrix.os == 'ubuntu-latest'
29+
- name: Install system dependencies
3130
run: |
32-
sudo apt-get update
33-
sudo apt-get install -y pkg-config libglib2.0-dev libzstd-dev
34-
35-
- name: Install system dependencies (macOS)
36-
if: matrix.os == 'macos-latest' || matrix.os == 'macos-14'
37-
run: |
38-
brew install glib pkg-config zstd argp-standalone
31+
bash src/libCacheSim/scripts/install_dependency.sh
3932
4033
- name: Build and test with uv
4134
run: |
4235
uv venv --python ${{ matrix.python-version }}
43-
uv pip install -e .[dev]
36+
CMAKE_ARGS="-DENABLE_GLCACHE=OFF -DENABLE_LRB=OFF -DENABLE_3L_CACHE=OFF" uv pip install -e .[dev] -vvv
4437
uv run python -c "import libcachesim; print('✓ Import successful for Python ${{ matrix.python-version }} on ${{ matrix.os }}')"
4538
4639
- name: Run tests

0 commit comments

Comments
 (0)