Skip to content

Commit

Permalink
feat:
Browse files Browse the repository at this point in the history
- Add 3.10 to the build matrix
- Drop support for various OS + versions for simplicity
  • Loading branch information
SeanC-Promaton committed Apr 23, 2024
1 parent 59eb808 commit ad3be4b
Show file tree
Hide file tree
Showing 19 changed files with 14 additions and 267 deletions.
52 changes: 14 additions & 38 deletions .github/workflows/building-conda.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,26 @@
name: Building Conda

on: [workflow_dispatch]
on:
workflow_dispatch: {}
push:
branches: [ "**" ]
tags: [ "*" ]

jobs:

conda-build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, macos-10.15] #, windows-2019]
python-version: ['3.7', '3.8', '3.9'] #, '3.10']
torch-version: [1.10.0, 1.11.0, 1.12.0]
cuda-version: ['cpu', 'cu102', 'cu113', 'cu115', 'cu116']
exclude:
- torch-version: 1.10.0
cuda-version: 'cu116'
- torch-version: 1.11.0
cuda-version: 'cu116'
- torch-version: 1.12.0
cuda-version: 'cu115'
- torch-version: 1.10.0
cuda-version: 'cu115'
- torch-version: 1.10.0
python-version: '3.10'
- os: windows-2019
torch-version: 1.11.0
cuda-version: 'cu102'
- os: macos-10.15
cuda-version: 'cu102'
- os: macos-10.15
cuda-version: 'cu113'
- os: macos-10.15
cuda-version: 'cu115'
- os: macos-10.15
cuda-version: 'cu116'
- os: macos-10.15
python-version: '3.10' # this is unhappy
- os: ubuntu-18.04
cuda-version: 'cu115'
- os: windows-2019
cuda-version: 'cu102'
- os: windows-2019 # Complains about CUDA mismatch.
python-version: '3.7'

os: ['ubuntu-20.04']
python-version: ['3.7', '3.8', '3.9', '3.10']
torch-version: ['1.11.0', '1.13.1']
cuda-version: ['cpu', 'cu113']
#exclude:
# - torch-version: 1.12.0
# cuda-version: 'cu115'
# - os: ubuntu-18.04
# cuda-version: 'cu115'
steps:
- uses: actions/checkout@v2
- name: Set up Conda for Python ${{ matrix.python-version }}
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu101-Linux-env.sh

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/cuda/cu101-Linux.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu101-Windows-env.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/cuda/cu101-Windows.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu102-Linux-env.sh

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/cuda/cu102-Linux.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu102-Windows-env.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/cuda/cu102-Windows.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu111-Linux-env.sh

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/cuda/cu111-Linux.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu111-Windows-env.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/cuda/cu111-Windows.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu113-Windows-env.sh

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/cuda/cu113-Windows.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu115-Windows-env.sh

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/cuda/cu115-Windows.sh

This file was deleted.

8 changes: 0 additions & 8 deletions .github/workflows/cuda/cu116-Windows-env.sh

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/cuda/cu116-Windows.sh

This file was deleted.

0 comments on commit ad3be4b

Please sign in to comment.