Commit 467521eb authored by William Clarke's avatar William Clarke
Browse files

Merge Pchanges to enable automatic FSL conda builds.

parents a5d3b94f 69b1442e
......@@ -10,10 +10,11 @@
# 2. test: Unit tests
#
# 3. doc: Building user documentation which appears at:
# https://open.win.ox.ac.uk/pages/fsl/fsl_mrs/
# https://open.win.ox.ac.uk/pages/fsl/fsl_mrs/
#
# 4. build: Building source and wheel distributions for
# releases
# 4. build
# & deploy: Build in three stages fsl-ci-pre, fsl-ci-build,
# sl-ci-deploy
#
# A custom docker image is used for the test job - images are
# available at:
......@@ -24,15 +25,21 @@
# Style is run in all cases, but allowed to fail.
# Test is run in all cases.
# Doc is only run on master branches.
# Build is run only with releases on upstream repo.
# Build stages are run according to the rules associated
# with https://git.fmrib.ox.ac.uk/fsl/fsl-ci-rules
#
###########################################################################
include:
- project: fsl/fsl-ci-rules
file: .gitlab-ci.yml
stages:
- style
- test
- doc
- build
- fsl-ci-pre
- fsl-ci-build
- fsl-ci-deploy
####################################
# These anchors are used to restrict
......@@ -63,7 +70,6 @@ stages:
# ############
# # 1. style
# ############
flake8:
image: python:3.7-slim-buster
stage: style
......@@ -109,23 +115,3 @@ pages:
artifacts:
paths:
- public
############
# 3. build
############
build-conda-dist:
<<: *only_releases
image: wtclarke/fsl_mrs_build:1.0
stage: build
variables:
GIT_SUBMODULE_STRATEGY: normal
before_script:
- conda init bash
- source ~/.bashrc
- conda activate fsl_build
script:
- conda build --output-folder ./dist/ -c defaults -c conda-forge -c https://fsl.fmrib.ox.ac.uk/fsldownloads/fslconda/channel/ ./.conda
artifacts:
paths:
- ./dist
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment