From 517c0ab6f5a537589664e922d6d7ff950f9ab9d4 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Mon, 11 Sep 2023 11:46:53 -0700 Subject: [PATCH] Relocate spack.yaml and use just for storing dep versions --- .github/workflows/Spack_Linux.yml | 2 +- .github/workflows/Spack_MacOS.yml | 2 +- {ci => spack}/spack.yaml | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {ci => spack}/spack.yaml (100%) diff --git a/.github/workflows/Spack_Linux.yml b/.github/workflows/Spack_Linux.yml index 1a8958dc..b511024f 100644 --- a/.github/workflows/Spack_Linux.yml +++ b/.github/workflows/Spack_Linux.yml @@ -35,7 +35,7 @@ jobs: run: | git clone -c feature.manyFiles=true https://github.com/spack/spack . spack/share/spack/setup-env.sh - spack env create grib-util-env + spack env create grib-util-env $GITHUB_WORKSPACE/grib-util/spack/spack.yaml spack env activate grib-util-env cp $GITHUB_WORKSPACE/grib-util/spack/package.py $SPACK_ROOT/var/spack/repos/builtin/packages/grib-util/package.py mv $GITHUB_WORKSPACE/grib-util $SPACK_ENV/grib-util diff --git a/.github/workflows/Spack_MacOS.yml b/.github/workflows/Spack_MacOS.yml index 6b2aa500..ad7d765b 100644 --- a/.github/workflows/Spack_MacOS.yml +++ b/.github/workflows/Spack_MacOS.yml @@ -33,7 +33,7 @@ jobs: run: | git clone -c feature.manyFiles=true https://github.com/spack/spack . spack/share/spack/setup-env.sh - spack env create grib-util-env + spack env create grib-util-env $GITHUB_WORKSPACE/grib-util/spack/spack.yaml spack env activate grib-util-env cp $GITHUB_WORKSPACE/grib-util/spack/package.py $SPACK_ROOT/var/spack/repos/builtin/packages/grib-util/package.py mv $GITHUB_WORKSPACE/grib-util $SPACK_ENV/grib-util diff --git a/ci/spack.yaml b/spack/spack.yaml similarity index 100% rename from ci/spack.yaml rename to spack/spack.yaml