Skip to content

릴리즈: 0.0.12 버전 정정 #535

릴리즈: 0.0.12 버전 정정

릴리즈: 0.0.12 버전 정정 #535

Workflow file for this run

name: CI
on:
pull_request:
branches: ["main"]
push:
branches: ["main"]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
backend:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --extra dev
- name: Run root clean gate
run: uv run python -X utf8 tests/run.py gate root-clean
- name: Run docs gate
run: uv run python -X utf8 tests/run.py gate docs
- name: Run backend gate
run: uv run python -X utf8 tests/run.py gate backend
- name: Run widget-bridge gate
run: uv run python -X utf8 tests/run.py gate widget-bridge
- name: Run app-runtime gate
run: uv run python -X utf8 tests/run.py gate app-runtime
- name: Run mobile-layout gate
run: uv run python -X utf8 tests/run.py gate mobile-layout
editor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: editor/package-lock.json
- name: Install
working-directory: editor
run: npm ci
- name: Build
run: python -X utf8 tests/run.py gate editor-build
landing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: landing/package-lock.json
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install
working-directory: landing
run: npm install
- name: Build
run: python -X utf8 tests/run.py gate landing-build
launcher:
# 다운로드 엔진(타임아웃/재시도/resume mock 테스트)과 provision 경로를 실제 배포 타깃인
# Windows를 포함한 3개 OS에서 검증한다. "내 로컬은 되는데 다른 환경은 터진다"를 CI에서 막는다.
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Linux WebView dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
launcher/codaro-launcher/target/
key: cargo-${{ runner.os }}-${{ hashFiles('launcher/codaro-launcher/Cargo.lock') }}
- name: Check (no build)
run: python -X utf8 tests/run.py gate launcher-check
- name: Run tests
run: python -X utf8 tests/run.py gate launcher-test