Commit 7919e9bf authored by Thomas Vincent's avatar Thomas Vincent

Add build of doc

parent 0ad554c3
Pipeline #12240 failed with stages
in 9 minutes and 20 seconds
......@@ -4,13 +4,16 @@ include:
stages:
- build_source
- build
- test
#- test
#- deploy
variables:
PROJECT: xsocs
# Build
source:
extends: .local_source_build
......@@ -19,10 +22,27 @@ source:
extends: .manylinux1_wheels
windows_wheel_python37:
.Xwindows_wheel_python37:
extends: .windows_wheel_python37
doc:
extends: .windows_base_python37
stage: build
script:
- pip install --upgrade --pre -r requirements-dev.txt
- pip install --upgrade --pre -r requirements.txt
# Build the doc (dependencies are needed)
- python setup.py build build_doc
- dir build/sphinx/html/
- xcopy /s /e "build/sphinx/html" "artifacts"
artifacts:
paths:
- artifacts/html/
when: on_success
expire_in: 2h
# Test
.test_template: &test_template_defintion
......@@ -56,7 +76,7 @@ windows_wheel_python37:
- manylinux1_wheels
windows_test_python37:
.Xwindows_test_python37:
<<: *test_template_defintion
extends: .windows_base_python37
dependencies:
......
Markdown is supported
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