Commit 8fc59f6
ci: skip macOS CI jobs on pull requests (#8608)
This extends the CI policy from #8600 to macOS: PRs now run Ubuntu-only
for the affected CI lanes, while macOS and Windows remain enabled on
`main`.
- **Cargo test matrix**
- Make the `cargo-test` platform matrix explicit:
- `main`: `ubuntu-latest`, `macos-latest`, `windows-latest`
- PRs / non-`main`: `ubuntu-latest` only
- **macOS native build gating**
- Gate `build-rolldown-macos` behind `github.ref_name == 'main'`
- **macOS Node job gating**
- Gate `node-test-macos` behind `github.ref_name == 'main'`
- Gate `node-dev-server-test-macos` behind `github.ref_name == 'main'`
- **Workflow shape**
- Keep Ubuntu PR coverage unchanged
- Mirror the existing Windows-on-`main` behavior instead of introducing
a separate policy path
```yml
strategy:
matrix:
target: ${{ github.ref_name == 'main'
&& fromJSON('["ubuntu-latest","macos-latest","windows-latest"]')
|| fromJSON('["ubuntu-latest"]') }}
```
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for
you](https://github.com/rolldown/rolldown/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot)
— coding agent works faster and does higher quality work when set up for
your repo.
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: hyf0 <[email protected]>1 parent cfddd82 commit 8fc59f6
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 93 | + | |
99 | 94 | | |
100 | 95 | | |
101 | 96 | | |
| |||
116 | 111 | | |
117 | 112 | | |
118 | 113 | | |
| 114 | + | |
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
| |||
175 | 171 | | |
176 | 172 | | |
177 | 173 | | |
| 174 | + | |
178 | 175 | | |
179 | 176 | | |
180 | 177 | | |
| |||
201 | 198 | | |
202 | 199 | | |
203 | 200 | | |
| 201 | + | |
204 | 202 | | |
205 | 203 | | |
206 | 204 | | |
| |||
0 commit comments