-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Environments: matrix of OS/arch #32894
Copy link
Copy link
Open
Labels
architectureenvironmentsfeatureA feature is missing in SpackA feature is missing in SpackpinnedThe Issue or PR is skipped by the actions/stale botThe Issue or PR is skipped by the actions/stale bot
Description
Summary
I would like to be able to test the same stack in CI across multiple platforms.
Rationale
I'm working on creating a CI stack for ML packages: #31592
I would like to be able to test this stack on multiple operating systems:
- Linux
- macOS
- Windows?
- Cray?
and multiple architectures:
- x86_64
- aarch64
- ppc64le
at the moment, this is impossible without copy-n-pasting the entire stack into a separate file and changing a single line. Code duplication is bad.
Description
Something like the following would be a good syntax:
spack:
packages:
platforms:
matrix:
- linux
- macos
- windows
targets:
matrix:
- x86_64
- aarch64
- powerpcAdditional information
General information
- I have run
spack --versionand reported the version of Spack - I have searched the issues of this repo and believe this is not a duplicate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
architectureenvironmentsfeatureA feature is missing in SpackA feature is missing in SpackpinnedThe Issue or PR is skipped by the actions/stale botThe Issue or PR is skipped by the actions/stale bot
Type
Projects
Status
No status