"tests/vscode:/vscode.git/clone" did not exist on "f81a60bec0e31e5c6c219d0566ecb4ae45ea1588"
Unverified Commit 7990d252 authored by Chen Xin's avatar Chen Xin Committed by GitHub
Browse files

add cuda12.1 build check ci (#782)

* update cuda12.1 build check ci

* use matrix
parent 7f943a26
......@@ -25,7 +25,11 @@ permissions:
contents: read
jobs:
cuda-118:
build:
strategy:
matrix:
cudaver: [11.8, 12.1]
name: cuda-${{ matrix.cudaver }}
runs-on: ubuntu-latest
steps:
- name: Free disk space
......@@ -45,8 +49,8 @@ jobs:
- name: Build
uses: addnab/docker-run-action@v3
with:
image: openmmlab/lmdeploy-builder:cuda11.8
options: -v ${{ github.workspace }}:/work --cpus=1.8
image: openmmlab/lmdeploy-builder:cuda${{ matrix.cudaver }}
options: -v ${{ github.workspace }}:/work
run: |
cd /work
source /opt/conda/bin/activate
......
......@@ -25,7 +25,11 @@ permissions:
contents: read
jobs:
cuda-118:
build:
strategy:
matrix:
cudaver: [11.8.0, 12.1.0]
name: cuda-${{ matrix.cudaver }}
runs-on: windows-latest
steps:
- name: Checkout repository
......@@ -40,7 +44,7 @@ jobs:
- uses: Jimver/cuda-toolkit@v0.2.11
id: cuda-toolkit
with:
cuda: '11.8.0'
cuda: ${{ matrix.cudaver }}
use-github-cache: false
- name: Build wheel
run: |
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment