Repository navigation
Commit 1138f1e
committed
Step 2: Build the site in CI and publish it from main
The site job merges every job's results-* artifact and builds the site in
the ruby_4.0 container, the same way the lint runs. It runs also when some
benchmark jobs failed, so every PR gets a preview, and is skipped when the
benchmark jobs did not run (a lint failure), so it adds no red check there.
When a benchmark job failed, the build is marked incomplete and the page
says a result shown as skipped may be a crash.
The preview artifact is called site-preview, outside the results-* pattern,
so a re-run of failed jobs never downloads it as results, and a re-run
replaces the earlier preview. The run's Summary page links to it, so it is
one click away, also on PRs from forks.
Only a push to main where every benchmark job passed deploys to GitHub
Pages, so a partial run never replaces the live site. Runs can finish out
of order, so when main has moved on the deploy asks pick-benchmarks.sh
whether the newer commits run benchmarks: if they do, their run deploys
newer results and this one skips; if not (a README-only merge), this run's
results are still the newest and it deploys. The deploy job is the only
one with Pages permissions, and neither job is part of benchmarks-ok, so a
Pages problem never blocks a merge.1 parent e1e1426 commit 1138f1e
1 file changed
Lines changed: 93 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
102 | 195 | | |
103 | 196 | | |
104 | 197 | | |
| |||
0 commit comments