Skip to content

Commit

Permalink
Build for multiple Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
epassaro committed May 2, 2023
1 parent 2aae530 commit 459e9a8
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@ on:

jobs:
jamspell:
strategy:
matrix:
py_version: ['3.9', '3.10', '3.11']
runs-on: ubuntu-20.04
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: ${{ matrix.py_version }}

- name: Install dependencies
run: |
Expand All @@ -37,12 +40,15 @@ jobs:
if-no-files-found: error

detectron2:
strategy:
matrix:
py_version: ['3.9', '3.10', '3.11']
runs-on: ubuntu-20.04
steps:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: ${{ matrix.py_version }}

- name: Install pip dependencies
run: pip install setuptools wheel --extra-index-url https://download.pytorch.org/whl/cpu torch==2.0.0 torchvision==0.15.1
Expand Down

0 comments on commit 459e9a8

Please sign in to comment.