Commit c93d78f
committed
Optimize Spack CI with binary cache and system packages
Performance improvements:
- Add Spack binary cache mirror for pre-built dependencies
- Mark system packages as external (cmake, python, perl, gcc)
- Pre-install system libraries (openblas, fftw, hdf5) via apt
- Use buildcache for dependencies to avoid source builds
- Reduce timeout from 60 to 45 minutes
Conditional execution:
- Install test only runs on PRs or manual workflow_dispatch
- Saves CI time on routine commits to packaging files
- Lint and spec tests still run on every push1 parent a2cfdb3 commit c93d78f
1 file changed
+13
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
| |||
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
128 | | - | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | | - | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
139 | 147 | | |
140 | 148 | | |
141 | 149 | | |
| |||
152 | 160 | | |
153 | 161 | | |
154 | 162 | | |
155 | | - | |
156 | | - | |
157 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
158 | 166 | | |
159 | 167 | | |
160 | 168 | | |
| |||
0 commit comments