Skip to content

Commit

Permalink
Use Ubuntu-22 instead of deprecated Ubuntu 18 in CI (#105)
Browse files Browse the repository at this point in the history
* Use Ubuntu-latest instead of deprecated Ubuntu 18 in CI

* Update cuda-toolkit action to 0.2.10
Change to Ubuntu 22.04

* Change to Ubuntu 20.04

* Add override to cuda install.
Go back to Ubuntu 22.04

* Rename conda env to ubuntu 22
  • Loading branch information
RaulPPelaez committed Apr 14, 2023
1 parent 769302a commit f8055c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
# Oldest supported versions
# NOTE: renable CUDA 10.2 when it supported by NNPOps (https://github.com/conda-forge/nnpops-feedstock/pull/8)
- name: Linux (CUDA 11.0, Python 3.7, PyTorch 1.11)
os: ubuntu-18.04
os: ubuntu-22.04
cuda-version: "11.0.3"
gcc-version: "8.5.*"
nvcc-version: "11.0"
Expand All @@ -34,7 +34,7 @@ jobs:

# Latest supported versions
- name: Linux (CUDA 11.2, Python 3.10, PyTorch 1.12)
os: ubuntu-18.04
os: ubuntu-22.04
cuda-version: "11.2.2"
gcc-version: "10.3.*"
nvcc-version: "11.2"
Expand All @@ -55,9 +55,10 @@ jobs:
uses: actions/checkout@v2

- name: "Install CUDA Toolkit on Linux (if needed)"
uses: Jimver/cuda-toolkit@v0.2.5
uses: Jimver/cuda-toolkit@v0.2.10
with:
cuda: ${{ matrix.cuda-version }}
linux-local-args: '["--toolkit", "--override"]'
if: startsWith(matrix.os, 'ubuntu')

- name: "Install SDK on MacOS (if needed)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ dependencies:
- pytorch-gpu @PYTORCH_VERSION@
- swig
- sysroot_linux-64 2.17
- torchani
- torchani

0 comments on commit f8055c3

Please sign in to comment.