-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Ubuntu-22 instead of deprecated Ubuntu 18 in CI (#105)
* 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
1 parent
769302a
commit f8055c3
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|
@@ -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" | ||
|
@@ -55,9 +55,10 @@ jobs: | |
uses: actions/checkout@v2 | ||
|
||
- name: "Install CUDA Toolkit on Linux (if needed)" | ||
uses: Jimver/[email protected].5 | ||
uses: Jimver/[email protected].10 | ||
with: | ||
cuda: ${{ matrix.cuda-version }} | ||
linux-local-args: '["--toolkit", "--override"]' | ||
if: startsWith(matrix.os, 'ubuntu') | ||
|
||
- name: "Install SDK on MacOS (if needed)" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,4 +17,4 @@ dependencies: | |
- pytorch-gpu @PYTORCH_VERSION@ | ||
- swig | ||
- sysroot_linux-64 2.17 | ||
- torchani | ||
- torchani |