Skip to content

Commit

Permalink
CI: Pull in FreeSurfer license, share cache with master
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Mar 22, 2023
1 parent bb14c01 commit 9272520
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,14 +131,13 @@ jobs:
--exclude='freesurfer/subjects/sample-*.mgz' \
--exclude='freesurfer/subjects/V1_average' \
--exclude='freesurfer/trctrain'
pushd /tmp/freesurfer
echo "${FS_LICENSE_CONTENT}" | base64 -d | sh
echo "b2VzdGViYW5Ac3RhbmZvcmQuZWR1CjMwNzU2CiAqQ1MzYkJ5VXMxdTVNCiBGU2kvUGJsejJxR1V3Cg==" | base64 -d > /tmp/freesurfer/license.txt
else
echo "FreeSurfer was cached."
circleci step halt
fi
- save_cache:
key: freesurfer-v1-{{ .BuildNum }}
key: freesurfer-v0-{{ .BuildNum }}
paths:
- /tmp/freesurfer

Expand Down

0 comments on commit 9272520

Please sign in to comment.