feat: Initial release v0.2.0 - PySide6 MUJI-style UI #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # BlockMesh Studio CI/CD Pipeline | |
| # 確保 UTF-8 編碼支援正體中文 | |
| name: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| env: | |
| # 全域 UTF-8 設定(Python 3.14 已內建 UTF-8 模式) | |
| PYTHONIOENCODING: "utf-8" | |
| jobs: | |
| test-linux: | |
| runs-on: ubuntu-latest | |
| env: | |
| LANG: en_US.UTF-8 | |
| LC_ALL: en_US.UTF-8 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up locale | |
| run: | | |
| sudo locale-gen en_US.UTF-8 | |
| sudo update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python 3.14 | |
| run: uv python install 3.14 | |
| - name: Create virtual environment | |
| run: uv venv .venv314 --python 3.14 | |
| - name: Install dependencies | |
| run: | | |
| uv pip install -e ".[dev]" | |
| - name: Run tests with UTF-8 | |
| run: | | |
| uv run pytest -v --tb=short | |
| env: | |
| PYTHONIOENCODING: "utf-8" | |
| test-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set Windows UTF-8 codepage | |
| run: | | |
| chcp 65001 | |
| shell: cmd | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| version: "latest" | |
| - name: Set up Python 3.14 | |
| run: uv python install 3.14 | |
| - name: Create virtual environment | |
| run: uv venv .venv314 --python 3.14 | |
| - name: Install dependencies | |
| run: | | |
| uv pip install -e ".[dev]" | |
| - name: Run tests with UTF-8 | |
| run: | | |
| uv run pytest -v --tb=short | |
| env: | |
| PYTHONIOENCODING: "utf-8" | |
| PYTHONLEGACYWINDOWSSTDIO: "0" |