Repository navigation
feat: 信号创建三入口(A/B/C)+ Signal 惰性初值 #65
Workflow file for this run
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
| 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", "4.0"] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby }} | |
| bundler-cache: true | |
| - name: 单元测试(CRuby) | |
| run: bundle exec rake | |
| # 顺带覆盖"该 Ruby 版本能否跑 Opal 编译":编译一个示例并在 Node 下比对输出(G-11) | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "22" | |
| - name: 数值工具跨平台一致性(G-11) | |
| run: bundle exec rake parity | |
| stubs: | |
| name: 编译 + Node 桩验收 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.3" | |
| bundler-cache: true | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "22" | |
| - name: 五套桩验收 | |
| run: bundle exec rake stubs | |
| - name: 数值工具跨平台一致性(G-11) | |
| run: bundle exec rake parity | |
| package: | |
| name: macOS 打包冒烟 | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.3" | |
| bundler-cache: true | |
| - name: 打包 CitrineCounter.app | |
| run: bundle exec bin/citrine package counter |