Skip to content

Commit c1552c6

Browse files
mavaylon1rly
authored andcommitted
Update doc_builds.yml and merge PR #82
Update doc_builds.yml Update doc_builds.yml Update azure-pipelines.yml Update azure-pipelines.yml Update azure-pipelines.yml Update doc_builds.yml
1 parent f6620d0 commit c1552c6

2 files changed

Lines changed: 35 additions & 22 deletions

File tree

.github/workflows/doc_builds.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,33 +8,37 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v3
11+
with:
12+
fetch-depth: 0
1113

1214
- name: Set up Python 3.11
1315
uses: actions/setup-python@v4
1416
with:
1517
python-version: "3.11"
1618

1719
- name: Clone HDMF-Common-Schema and Install Requirements
18-
run:
20+
run: |
1921
git clone https://github.com/hdmf-dev/hdmf-common-schema.git
2022
cd hdmf-common-schema
2123
python -m pip install -r requirements-doc.txt
2224
2325
- name: Build HDMF-Common-Schema Docs
24-
run:
26+
run: |
27+
cd hdmf-common-schema
2528
cd docs
2629
make clean
2730
make html
2831
2932
- name: Clone NWB-Schema and Install Requirements
30-
run:
33+
run: |
3134
git clone https://github.com/NeurodataWithoutBorders/nwb-schema.git
3235
cd nwb-schema
3336
python -m pip install -r requirements-doc.txt
3437
3538
- name: Build NWB-Schema Docs
36-
run:
37-
cd docs
39+
run: |
40+
cd nwb-schema
41+
cd docs/format
3842
make clean
3943
make html
4044

azure-pipelines.yml

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88
- job: 'StyleCheck'
99

1010
pool:
11-
vmImage: 'ubuntu-20.04'
11+
vmImage: 'ubuntu-latest'
1212

1313
steps:
1414

1515
- task: UsePythonVersion@0
1616
inputs:
17-
versionSpec: '3.9'
17+
versionSpec: '3.11'
1818
architecture: 'x64'
1919

2020
- script: |
@@ -32,35 +32,44 @@ jobs:
3232

3333
strategy:
3434
matrix:
35+
Linux-py3.11:
36+
imageName: 'ubuntu-latest'
37+
pythonVersion: '3.11'
38+
Linux-py3.10:
39+
imageName: 'ubuntu-latest'
40+
pythonVersion: '3.10'
3541
Linux-py3.9:
36-
imageName: 'ubuntu-20.04'
42+
imageName: 'ubuntu-latest'
3743
pythonVersion: '3.9'
3844
Linux-py3.8:
39-
imageName: 'ubuntu-20.04'
45+
imageName: 'ubuntu-latest'
4046
pythonVersion: '3.8'
41-
Linux-py3.7:
42-
imageName: 'ubuntu-20.04'
43-
pythonVersion: '3.7'
4447

48+
macOS-py3.11:
49+
imageName: 'macos-latest'
50+
pythonVersion: '3.11'
51+
macOS-py3.10:
52+
imageName: 'macos-latest'
53+
pythonVersion: '3.10'
4554
macOS-py3.9:
46-
imageName: 'macos-10.15'
55+
imageName: 'macos-latest'
4756
pythonVersion: '3.9'
4857
macOS-py3.8:
49-
imageName: 'macos-10.15'
58+
imageName: 'macos-latest'
5059
pythonVersion: '3.8'
51-
macOS-py3.7:
52-
imageName: 'macos-10.15'
53-
pythonVersion: '3.7'
5460

61+
Windows-py3.11:
62+
imageName: 'windows-latest'
63+
pythonVersion: '3.11'
64+
Windows-py3.10:
65+
imageName: 'windows-latest'
66+
pythonVersion: '3.10'
5567
Windows-py3.9:
56-
imageName: 'windows-2019'
68+
imageName: 'windows-latest'
5769
pythonVersion: '3.9'
5870
Windows-py3.8:
59-
imageName: 'windows-2019'
71+
imageName: 'windows-latest'
6072
pythonVersion: '3.8'
61-
Windows-py3.7:
62-
imageName: 'windows-2019'
63-
pythonVersion: '3.7'
6473

6574
pool:
6675
vmImage: $(imageName)

0 commit comments

Comments
 (0)