Skip to content

fix: tip 气泡在悬停中被卸载时泄漏——回收挂 owned_effects cleanup #18

fix: tip 气泡在悬停中被卸载时泄漏——回收挂 owned_effects cleanup

fix: tip 气泡在悬停中被卸载时泄漏——回收挂 owned_effects cleanup #18

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: Ruby ${{ matrix.ruby }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["3.1", "3.2", "3.3", "3.4"]
env:
CITRINE_PATH: ${{ github.workspace }}/citrine
steps:
- uses: actions/checkout@v7
- name: 检出 citrine 内核(path 依赖)
uses: actions/checkout@v7
with:
repository: ShiningRay/citrine
path: citrine
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: 单元测试(CRuby)
run: bundle exec rake test
compile:
name: Opal 编译验收
runs-on: ubuntu-latest
env:
CITRINE_PATH: ${{ github.workspace }}/citrine
steps:
- uses: actions/checkout@v7
- name: 检出 citrine 内核(path 依赖)
uses: actions/checkout@v7
with:
repository: ShiningRay/citrine
path: citrine
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: true
- name: demo 页 Opal 编译
run: bundle exec rake compile