Commit 91ecf62
authored
ci(spack): validate simphony Spack install in pull requests (#339)
Add a dedicated Docker stage that installs `simphony` via Spack, and validate that install path in pull request CI.
## What changed
- add a `spack-base` / `spack-no-env` flow in `Dockerfile`
- install Spack in the image and configure shell startup to source `setup-env.sh`
- use the latest builtin Spack repo state plus `BNLNPPS/spack-packages`
- install `simphony` through Spack in two steps:
- `spack install --only=dependencies simphony ...`
- `spack install --reuse simphony`
- add `.github/workflows/build-pull-request-spack.yaml`
- run a PR-only CI job that builds the `spack-no-env` stage
- smoke-test the result by verifying that `simphony` is installed and its Spack prefix exists
## Why
This gives us a focused CI signal that the current `simphony` package recipe remains installable via Spack, without coupling that check to the existing development-image workflows.
## Notes
- the Spack Docker stage is intended for package validation, not for development
- the CI job uses Dockerfile defaults rather than maintaining a separate version matrix
- the Spack repo state is intentionally not pinned so CI can catch packaging regressions against current Spack metadata1 parent a7d625d commit 91ecf62
2 files changed
Lines changed: 67 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 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 | + | |
0 commit comments