File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed
Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and Test perftest on Ubuntu 24.04 with CUDA 12.9
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+ branches :
9+ - master
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-24.04
14+
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+
19+ - name : Install CUDA repository
20+ run : |
21+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb
22+ sudo dpkg -i cuda-keyring_1.1-1_all.deb
23+
24+ - name : Install dependencies
25+ run : |
26+ sudo apt-get update
27+ sudo apt-get install -y \
28+ build-essential \
29+ autoconf \
30+ automake \
31+ libtool \
32+ pkg-config \
33+ libibverbs-dev \
34+ librdmacm-dev \
35+ libibumad-dev \
36+ libpci-dev \
37+ cuda-toolkit-12-9 \
38+ cuda-drivers
39+
40+ - name : Set up CUDA environment
41+ run : |
42+ echo 'export PATH=/usr/local/cuda-12.9/bin:${PATH}' >> $GITHUB_ENV
43+ echo 'export LD_LIBRARY_PATH=/usr/local/cuda-12.9/lib64:${LD_LIBRARY_PATH}' >> $GITHUB_ENV
44+
45+ - name : Run autogen.sh
46+ run : ./autogen.sh
47+
48+ - name : Configure the build
49+ run : ./configure CUDA_H_PATH=/usr/local/cuda/include/cuda.h
50+
51+ - name : Build perftest
52+ run : make
53+
54+ - name : Install perftest
55+ run : sudo make install
You can’t perform that action at this time.
0 commit comments