Commit a87b440
authored
ci: add
* ci: add ubuntu-latest test pipelines for highest/lowest torch
Add 4 GitHub-hosted Linux pipelines that run on ubuntu-latest:
- highest-torch slow, highest-torch fast
- lowest-torch slow, lowest-torch fast
Each runs the corresponding make target with --junit and uploads its
test-results artifact. Ungated and independent of the macOS self-hosted
jobs so they also run on forks.
* ci: gate test matrix behind a tiered check/smoke/tutorials stage
Introduce a tiered CI structure:
- Tier 1 (ubuntu-latest, ungated): make check, make test-smoke,
make test-tutorials.
- Tier 2 (needs all of Tier 1): the 4 linux test pipelines and the
macOS test run.
Move `check` off the macOS self-hosted runner to ubuntu-latest and drop
its repo gate so the gate also runs on forks (otherwise Tier 2 would be
skipped there). test-smoke/test-tutorials targets are added by a
separate change; until then those jobs fail and Tier 2 is skipped.
* ci: set linux test pipeline timeout-minutes to 120
* build: gate pre-commit hook install behind INSTALL_PRECOMMIT
Port the scripts/make changes from coreai-opt#497 so INSTALL_PRECOMMIT
is a real knob: setup_env.sh defaults it (false in --ensure mode, true
otherwise) and threads it to install_pre_commit_hooks.sh, which skips
`pre-commit install -f` when INSTALL_PRECOMMIT=false.
* ci: set INSTALL_PRECOMMIT=false for the test, smoke, and tutorial jobs
Skip git-hook configuration during env setup for the 4 linux test jobs,
the macOS test run, test-smoke, and test-tutorials. `check` is left as-is.
* ci: collapse linux test jobs into a strategy matrix
GitHub Actions doesn't support YAML anchors, so collapse the 4 linux-*
test jobs into a single `linux-tests` job with a strategy.matrix over
{highest,lowest} x {slow,fast}, declaring needs:/env:/steps once. Also
drop the redundant "Stage 2 runs only if..." comment.
* test: set strict=False on the resnet export xfailubuntu-latest test pipelines (#19)1 parent aeee805 commit a87b440
4 files changed
Lines changed: 82 additions & 8 deletions
File tree
- .github/workflows
- scripts/make
- tests/export
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
40 | 73 | | |
41 | 74 | | |
42 | | - | |
| 75 | + | |
43 | 76 | | |
44 | 77 | | |
45 | 78 | | |
| 79 | + | |
| 80 | + | |
46 | 81 | | |
47 | 82 | | |
48 | 83 | | |
| |||
58 | 93 | | |
59 | 94 | | |
60 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
198 | 204 | | |
199 | 205 | | |
200 | 206 | | |
| |||
339 | 345 | | |
340 | 346 | | |
341 | 347 | | |
342 | | - | |
| 348 | + | |
343 | 349 | | |
344 | 350 | | |
345 | 351 | | |
346 | | - | |
| 352 | + | |
347 | 353 | | |
348 | 354 | | |
349 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| |||
0 commit comments