Skip to content

Commit

Permalink
Update doc_builds.yml and merge PR #82
Browse files Browse the repository at this point in the history
Update doc_builds.yml

Update doc_builds.yml

Update azure-pipelines.yml

Update azure-pipelines.yml

Update azure-pipelines.yml

Update doc_builds.yml
  • Loading branch information
mavaylon1 authored and rly committed Oct 26, 2023
1 parent f6620d0 commit c1552c6
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 22 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/doc_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,37 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Clone HDMF-Common-Schema and Install Requirements
run:
run: |
git clone https://github.com/hdmf-dev/hdmf-common-schema.git
cd hdmf-common-schema
python -m pip install -r requirements-doc.txt
- name: Build HDMF-Common-Schema Docs
run:
run: |
cd hdmf-common-schema
cd docs
make clean
make html
- name: Clone NWB-Schema and Install Requirements
run:
run: |
git clone https://github.com/NeurodataWithoutBorders/nwb-schema.git
cd nwb-schema
python -m pip install -r requirements-doc.txt
- name: Build NWB-Schema Docs
run:
cd docs
run: |
cd nwb-schema
cd docs/format
make clean
make html
Expand Down
43 changes: 26 additions & 17 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ jobs:
- job: 'StyleCheck'

pool:
vmImage: 'ubuntu-20.04'
vmImage: 'ubuntu-latest'

steps:

- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
versionSpec: '3.11'
architecture: 'x64'

- script: |
Expand All @@ -32,35 +32,44 @@ jobs:

strategy:
matrix:
Linux-py3.11:
imageName: 'ubuntu-latest'
pythonVersion: '3.11'
Linux-py3.10:
imageName: 'ubuntu-latest'
pythonVersion: '3.10'
Linux-py3.9:
imageName: 'ubuntu-20.04'
imageName: 'ubuntu-latest'
pythonVersion: '3.9'
Linux-py3.8:
imageName: 'ubuntu-20.04'
imageName: 'ubuntu-latest'
pythonVersion: '3.8'
Linux-py3.7:
imageName: 'ubuntu-20.04'
pythonVersion: '3.7'

macOS-py3.11:
imageName: 'macos-latest'
pythonVersion: '3.11'
macOS-py3.10:
imageName: 'macos-latest'
pythonVersion: '3.10'
macOS-py3.9:
imageName: 'macos-10.15'
imageName: 'macos-latest'
pythonVersion: '3.9'
macOS-py3.8:
imageName: 'macos-10.15'
imageName: 'macos-latest'
pythonVersion: '3.8'
macOS-py3.7:
imageName: 'macos-10.15'
pythonVersion: '3.7'

Windows-py3.11:
imageName: 'windows-latest'
pythonVersion: '3.11'
Windows-py3.10:
imageName: 'windows-latest'
pythonVersion: '3.10'
Windows-py3.9:
imageName: 'windows-2019'
imageName: 'windows-latest'
pythonVersion: '3.9'
Windows-py3.8:
imageName: 'windows-2019'
imageName: 'windows-latest'
pythonVersion: '3.8'
Windows-py3.7:
imageName: 'windows-2019'
pythonVersion: '3.7'

pool:
vmImage: $(imageName)
Expand Down

0 comments on commit c1552c6

Please sign in to comment.