Ruby 3.1 on windows - #162
Conversation
* .github/workflows/taox11.yml:
WalkthroughThe GitHub Actions workflow .github/workflows/taox11.yml updates Windows matrix Ruby versions to 3.1, sets vsversion: 2022 for ilammy/msvc-dev-cmd@v1, and amends build steps to pass matrix.make_flags to all nested make invocations (examples, orbsvcs/tests, tests). Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor GitHub as GitHub Actions
participant Job as Windows Job (matrix)
participant MSVC as msvc-dev-cmd@v1
participant Build as brix11 make
participant Sub1 as make examples
participant Sub2 as make orbsvcs/tests
participant Sub3 as make tests
GitHub->>Job: Start job (Ruby 3.1)
Job->>MSVC: Setup MSVC (vsversion: 2022)
MSVC-->>Job: Env configured
Job->>Build: make (with matrix.make_flags)
Build->>Sub1: make examples (with matrix.make_flags)
Build->>Sub2: make orbsvcs/tests (with matrix.make_flags)
Build->>Sub3: make tests (with matrix.make_flags)
Sub3-->>Build: results
Build-->>Job: build status
Job-->>GitHub: job result
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (3)
.github/workflows/taox11.yml (3)
141-149: Windows matrix: Ruby 3.1 pin — OK; verify toolchain compatLooks good. Please confirm ridl and its gem dependencies are 3.1-compatible on Windows, and that ruby/setup-ruby picks the correct RubyInstaller/MSYS2 toolchain on windows-2025. Consider enabling bundler caching for speed.
Possible speed-up near the ruby/setup-ruby step:
- uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} + bundler-cache: true
185-187: Pin VS version — good; also pin architecture to avoid surprisesExplicit vsversion: 2022 is solid. To future-proof against default changes on new images, also pin arch (x64).
- uses: ilammy/msvc-dev-cmd@v1 with: - vsversion: 2022 + vsversion: 2022 + arch: x64
208-208: Propagating make_flags to all nested makes — good; reduce duplication for maintainabilityWorks as intended. Minor DRY improvement: define FLAGS once so future flag tweaks are single-touch.
- %X11_BASE_ROOT%/bin/brix11 make ${{ matrix.make_flags }} -N -d %X11_BASE_ROOT% -- make ${{ matrix.make_flags }} -N -d %TAOX11_ROOT%/examples -- make ${{ matrix.make_flags }} -N -d %TAOX11_ROOT%/orbsvcs/tests -- make ${{ matrix.make_flags }} -N -d %TAOX11_ROOT%/tests + set "FLAGS=${{ matrix.make_flags }} -N -d" + %X11_BASE_ROOT%/bin/brix11 make %FLAGS% %X11_BASE_ROOT% -- make %FLAGS% %TAOX11_ROOT%/examples -- make %FLAGS% %TAOX11_ROOT%/orbsvcs/tests -- make %FLAGS% %TAOX11_ROOT%/tests
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/taox11.yml(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Codacy Static Code Analysis
Summary by CodeRabbit