## Summary - **Remove xmake build system**: delete `xmake.lua`, `test-xmake.yml` workflow, and all xmake-related pixi tasks - **Migrate packaging to CMake**: `publish-clice.yml` now uses `cmake -DCLICE_RELEASE=ON` instead of xmake pack - **Clean up**: remove unused `tests/uv.lock`, `.xmake/` from `.gitignore`, xmake references from docs - **Benchmark CI**: change trigger from `pull_request` to `workflow_dispatch` (manual only) - **Simplify CLI parsing**: use `DecoKV(style = KVStyle::JoinedOrSeparate)` in `clice.cc` and `unit_tests.cc`, replacing verbose `DecoKVStyled` with manual `static_cast` bitmask; use comma separators; explicit `names` only for underscore fields ## Test plan - [x] `pixi run cmake-build RelWithDebInfo` compiles successfully - [x] Verify `pixi run test` passes - [x] Verify `pixi run package` produces correct archives via CMake release build - [x] Verify benchmark workflow can be triggered manually via `gh workflow run benchmark` 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Consolidated CI workflows; some automated triggers converted to manual invocation * Standardized shell for workflow steps and removed legacy build workflow * Switched packaging/build tasks to a CMake/Ninja flow and updated artifact paths * Adjusted ignore rules to include previously-ignored build metadata * **Documentation** * Removed XMake-specific build and test instructions; docs now reflect the CMake-based workflow * **Style** * Updated CLI option declaration style (no user-facing flag name changes) <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
66 lines
1.9 KiB
YAML
66 lines
1.9 KiB
YAML
name: clice
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
jobs:
|
|
publish-clice:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- os: windows-2025
|
|
artifact_name: clice.zip
|
|
asset_name: clice-x64-windows-msvc.zip
|
|
symbol_artifact_name: clice-symbol.zip
|
|
symbol_asset_name: clice-x64-windows-msvc-symbol.zip
|
|
|
|
- os: ubuntu-24.04
|
|
artifact_name: clice.tar.gz
|
|
asset_name: clice-x86_64-linux-gnu.tar.gz
|
|
symbol_artifact_name: clice-symbol.tar.gz
|
|
symbol_asset_name: clice-x86_64-linux-gnu-symbol.tar.gz
|
|
|
|
- os: macos-15
|
|
artifact_name: clice.tar.gz
|
|
asset_name: clice-arm64-macos-darwin.tar.gz
|
|
symbol_artifact_name: clice-symbol.tar.gz
|
|
symbol_asset_name: clice-arm64-macos-darwin-symbol.tar.gz
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: ./.github/actions/setup-pixi
|
|
with:
|
|
environments: package
|
|
|
|
- name: Package
|
|
run: pixi run package
|
|
|
|
- name: Upload Main Package to Release
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
uses: svenstaro/upload-release-action@v2
|
|
with:
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
file: build/RelWithDebInfo/${{ matrix.artifact_name }}
|
|
asset_name: ${{ matrix.asset_name }}
|
|
tag: ${{ github.ref }}
|
|
overwrite: true
|
|
|
|
- name: Upload Symbol Package to Release
|
|
if: startsWith(github.ref, 'refs/tags/v')
|
|
uses: svenstaro/upload-release-action@v2
|
|
with:
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
file: build/RelWithDebInfo/${{ matrix.symbol_artifact_name }}
|
|
asset_name: ${{ matrix.symbol_asset_name }}
|
|
tag: ${{ github.ref }}
|
|
overwrite: true
|