Skip to content

Commit 8f25f91

Browse files
committed
gpu container
1 parent 883e89a commit 8f25f91

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,20 @@ on:
66
release_tag:
77
description: 'Release tag (e.g., v1.0.0)'
88
required: true
9-
default: 'v0.1.0'
10-
9+
1110
permissions:
1211
contents: write # Required for creating releases and uploading assets
1312

1413
jobs:
1514
build-and-release:
16-
runs-on: ubuntu-latest
17-
container:
18-
image: nvidia/cuda:11.8.0-devel-ubuntu22.04
19-
options: --gpus all
20-
15+
runs-on: ubuntu-22.04-gpu
2116
steps:
2217
- uses: actions/checkout@v3
2318

2419
- name: Install dependencies
2520
run: |
26-
apt-get update
27-
apt-get install -y curl build-essential
21+
sudo apt-get update
22+
sudo apt-get install -y curl build-essential
2823
2924
- name: Install Rust
3025
uses: actions-rs/toolchain@v1

0 commit comments

Comments
 (0)