Skip to content

Commit 81003ed

Browse files
committed
adjust docs workflow
1 parent fcb017c commit 81003ed

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/docs.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,33 @@ on:
1313
jobs:
1414
build:
1515
name: build and deploy docs
16-
runs-on: ubuntu-latest
16+
runs-on: windows-latest
17+
defaults:
18+
run:
19+
shell: bash -l {0}
1720
steps:
1821
- uses: actions/checkout@v2
1922

20-
- uses: compas-dev/[email protected]
23+
- uses: conda-incubator/[email protected]
24+
with:
25+
miniconda-version: "latest"
26+
activate-environment: cgal
27+
channels: conda-forge
28+
python-version: 3.7
29+
30+
- name: build (windows)
31+
run: |
32+
conda install eigen boost-cpp mpir mpfr cgal-cpp">=5.0" pybind11 COMPAS">=0.16.0" -y
33+
pip install -r requirements-dev.txt
34+
invoke docs
35+
36+
- uses: compas-dev/[email protected]
2137
id: docs
2238
with:
2339
dest: deploy
2440
build_to_subfolder: true
41+
install_dependencies: false
42+
build_docs: false
2543

2644
- name: Deploy docs
2745
if: success() && steps.docs.outputs.commit_type != 'pull'

0 commit comments

Comments
 (0)