Skip to content

Commit

Permalink
Apply workaround for cylc-dev environment (cannot install rust from b…
Browse files Browse the repository at this point in the history
…inary cache) in .github/workflows/ubuntu-ci-x86_64-gnu.yaml: install rust from source
  • Loading branch information
climbfuji committed Feb 10, 2025
1 parent 8f66278 commit 58ab975
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ubuntu-ci-x86_64-gnu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,16 @@ jobs:
echo "jedi-ufs-env ..."
spack install --fail-fast --source --no-check-signature jedi-ufs-env 2>&1 | tee log.install.gnu-11.4.0-buildcache.jedi-ufs-env
spack buildcache create -u /home/ubuntu/spack-stack/build-cache/ jedi-ufs-env
elif [[ "${TEMPLATE}" == *"cylc-dev"* ]]; then
# Workaround for not being able to install rust from build-cache, see
# https://github.com/spack/spack/issues/48971
echo "rust dependencies ..."
spack install --verbose --source --no-check-signature --only=dependencies rust 2>&1 | tee log.install.gnu-11.4.0-buildcache.${TEMPLATE}.001.rust-dependencies
# rust from source
echo "rust (from source) ..."
spack install --verbose --source --no-cache rust 2>&1 | tee log.install.gnu-11.4.0-buildcache.${TEMPLATE}.002.rust
fi
# the rest
Expand Down

0 comments on commit 58ab975

Please # to comment.