Skip to content

Commit 5aa34a2

Browse files
authored
refinalize the build
1 parent b39f7e4 commit 5aa34a2

1 file changed

Lines changed: 11 additions & 17 deletions

File tree

.github/workflows/dev.yml

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ jobs:
2626
echo "/opt/homebrew/opt/llvm/bin" >> $GITHUB_PATH
2727
2828
- name: Build and Test
29-
uses: pypa/cibuildwheel@v2.22.0
29+
uses: pypa/cibuildwheel@v3.4.0
3030
env:
3131
CIBW_BUILD: "cp313t-macosx_arm64"
3232
CIBW_ENABLE: "cpython-freethreading"
33-
CIBW_BUILD_FRONTEND: "uv"
33+
CIBW_BUILD_FRONTEND: "uv" # <--- Native support in v3.4.0
3434

3535
CIBW_ENVIRONMENT_MACOS: >
3636
CC="/opt/homebrew/opt/llvm/bin/clang"
@@ -41,24 +41,18 @@ jobs:
4141
MACOSX_DEPLOYMENT_TARGET=14.0
4242
CMAKE_ARGS="-DCMAKE_C_STANDARD=23 -DCMAKE_C_STANDARD_REQUIRED=ON -DENABLE_SANITIZER=OFF -DCMAKE_BUILD_TYPE=Release -DDOUBLE_PRECISION=ON"
4343
44-
# 1. Install all dependencies including psutil for the benchmark
4544
CIBW_TEST_REQUIRES: numpy psutil pytest pytest-xdist
4645

47-
# 2. The Command Chain:
48-
# - Run all unittests in parallel (-n auto)
49-
# - Run Leak Test
50-
# - Run Thread Stress Test
51-
# - Run Fragmentation Churn
46+
# Running your specific core and performance unittests plus the benchmark script
5247
CIBW_TEST_COMMAND: >
53-
pytest -n auto -v {project}/tests/test_core.py {project}/tests/test_perf.py &&
54-
python {project}/tests/benchmark.py --leak &&
55-
python {project}/tests/benchmark.py --stress &&
56-
python {project}/tests/benchmark.py --churn
48+
pytest -n auto -v {project}/test_core.py {project}/test_perf.py &&
49+
python {project}/benchmark.py --leak &&
50+
python {project}/benchmark.py --stress &&
51+
python {project}/benchmark.py --churn
5752
58-
- name: Generate Performance Report
53+
- name: Generate Summary
5954
if: always()
6055
run: |
61-
echo "### Culverin CI Report 🎯" >> $GITHUB_STEP_SUMMARY
62-
echo "* **Platform:** macOS Arm64 (M-Series)" >> $GITHUB_STEP_SUMMARY
63-
echo "* **Standard:** C23 / Clang Upstream" >> $GITHUB_STEP_SUMMARY
64-
echo "* **Test Result:** ${{ job.status }}" >> $GITHUB_STEP_SUMMARY
56+
echo "### Culverin CI Finalized 🎯" >> $GITHUB_STEP_SUMMARY
57+
echo "* **Frontend:** uv (Native v3.4.0 support)" >> $GITHUB_STEP_SUMMARY
58+
echo "* **Runtime:** CPython 3.13t (Free-threaded)" >> $GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)