Skip to content

Add UK Biobank regions of interest #37

Add UK Biobank regions of interest

Add UK Biobank regions of interest #37

name: continuous integration
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: self-hosted
container: ghcr.io/halfpipe/halfpipe:latest
steps:
- name: Install dependencies
shell: bash
run: |
mamba install -y git zip
git --version
- name: Checkout
uses: actions/checkout@v3
- name: Build atlases
id: build_atlases
shell: bash
run: |
freesurfer_license_base64="bGVhLndhbGxlckBjaGFyaXRlLmRlCjI3OTk5CiAqQ2R5NnNBR1BoQWlrCiBGU2t2cmduNFc0UXhRCg=="
echo ${freesurfer_license_base64} \
| base64 --decode > ${FREESURFER_HOME}/license.txt
pip install --verbose .
atlas_dir=/tmp/atlases
mkdir -p ${atlas_dir}
cd ${atlas_dir}
halfpipe-atlases-build
zip_path=${atlas_dir}.zip
zip ${zip_path} *
echo "zip_path=${zip_path}" >> ${GITHUB_OUTPUT}
- name: Upload atlases
uses: actions/upload-artifact@v3
with:
name: atlases.zip
path: ${{ steps.build_atlases.outputs.zip_path }}