ci: add e4s mac stack (#29476)
This commit is contained in:
62
share/spack/gitlab/cloud_pipelines/stacks/e4s-mac/spack.yaml
Normal file
62
share/spack/gitlab/cloud_pipelines/stacks/e4s-mac/spack.yaml
Normal file
@@ -0,0 +1,62 @@
|
||||
spack:
|
||||
view: false
|
||||
concretization: separately
|
||||
|
||||
config:
|
||||
concretizer: clingo
|
||||
install_tree:
|
||||
root: $SPACK_ROOT/opt/spack
|
||||
padded_length: 512
|
||||
projections:
|
||||
all: '{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'
|
||||
|
||||
packages:
|
||||
all:
|
||||
compiler: [apple-clang@13.0.0]
|
||||
target: [m1]
|
||||
|
||||
definitions:
|
||||
- easy_specs:
|
||||
- zlib
|
||||
|
||||
- arch:
|
||||
- '%apple-clang@13.0.0 target=m1'
|
||||
|
||||
specs:
|
||||
|
||||
- matrix:
|
||||
- - $easy_specs
|
||||
- - $arch
|
||||
|
||||
mirrors: { "mirror": "s3://spack-binaries-develop/e4s-mac" }
|
||||
|
||||
gitlab-ci:
|
||||
|
||||
script:
|
||||
- . "./share/spack/setup-env.sh"
|
||||
- spack --version
|
||||
- cd ${SPACK_CONCRETE_ENV_DIR}
|
||||
- spack env activate --without-view .
|
||||
- spack config add "config:install_tree:projections:${SPACK_JOB_SPEC_PKG_NAME}:'morepadding/{architecture}/{compiler.name}-{compiler.version}/{name}-{version}-{hash}'"
|
||||
- mkdir -p ${SPACK_ARTIFACTS_ROOT}/user_data
|
||||
- spack -d ci rebuild > >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_out.txt) 2> >(tee ${SPACK_ARTIFACTS_ROOT}/user_data/pipeline_err.txt >&2)
|
||||
|
||||
mappings:
|
||||
- match: ['os=monterey']
|
||||
runner-attributes:
|
||||
tags:
|
||||
- omicron
|
||||
temporary-storage-url-prefix: "s3://spack-binaries-prs/pipeline-storage"
|
||||
broken-specs-url: "s3://spack-binaries-develop/broken-specs"
|
||||
service-job-attributes:
|
||||
before_script:
|
||||
- . "./share/spack/setup-env.sh"
|
||||
- spack --version
|
||||
tags:
|
||||
- omicron
|
||||
|
||||
cdash:
|
||||
build-group: E4S Mac
|
||||
url: https://cdash.spack.io
|
||||
project: Spack Testing
|
||||
site: Cloud Gitlab Infrastructure
|
||||
Reference in New Issue
Block a user