-
Notifications
You must be signed in to change notification settings - Fork 16
43 lines (35 loc) · 1009 Bytes
/
linux-cuda-build.yml
File metadata and controls
43 lines (35 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Linux CUDA Build
on:
workflow_dispatch:
workflow_call:
jobs:
linux-cuda-build:
runs-on: ubuntu-latest
container: nvidia/cuda:11.8.0-devel-ubuntu22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout whisper.cpp
uses: actions/checkout@v4
with:
repository: ggerganov/whisper.cpp
ref: v1.7.2
path: whisper.cpp
- name: Install build dependencies
run: |
apt-get update
apt-get install -y cmake build-essential
- name: Install CUDA Toolkit
id: cuda-toolkit
uses: Jimver/cuda-toolkit@v0.2.11
with:
cuda: '12.5.0'
method: 'network'
- name: Build Linux CUDA Libraries
run: make linux_cuda
- name: Upload Linux CUDA Build Artifacts
uses: actions/upload-artifact@v4
with:
name: linux-cuda-build
path: runtimes/linux-*_cuda/*
retention-days: 7