ci: add e4s mac stack (#29476)

This commit is contained in:
eugeneswalker
2022-03-14 09:32:09 -07:00
committed by GitHub
parent f1bdbefd46
commit c3b6b3036d
2 changed files with 105 additions and 0 deletions

View 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