File tree Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Expand file tree Collapse file tree 1 file changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,40 @@ permissions:
14
14
jobs :
15
15
build-and-test :
16
16
runs-on : ubuntu-latest
17
+ env :
18
+ CUDA_MAJOR_VERSION : 12
19
+ CUDA_MINOR_VERSION : 9
20
+ TENSORRT_VERSION : 10.11.0.33-1+cuda12.9
17
21
18
22
steps :
19
23
- uses : actions/checkout@v4
20
- - uses : bazel-contrib/setup-bazel@0.14 .0
24
+ - uses : bazel-contrib/setup-bazel@0.15 .0
21
25
with :
22
26
bazelisk-cache : true
23
27
disk-cache : ${{ github.workflow }}
24
28
repository-cache : true
25
29
30
+ - name : setup
31
+ run : |
32
+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
33
+ sudo dpkg -i cuda-keyring_1.1-1_all.deb
34
+ sudo apt update
35
+ sudo apt install -y \
36
+ libavutil-dev \
37
+ libavdevice-dev \
38
+ cuda-cudart-dev-$CUDA_MAJOR_VERSION-$CUDA_MINOR_VERSION \
39
+ cuda-crt-$CUDA_MAJOR_VERSION-$CUDA_MINOR_VERSION \
40
+ libnvinfer10=$TENSORRT_VERSION \
41
+ libnvinfer-headers-dev=$TENSORRT_VERSION \
42
+ libnvinfer-dev=$TENSORRT_VERSION \
43
+ libnvinfer-plugin10=$TENSORRT_VERSION \
44
+ libnvinfer-headers-plugin-dev=$TENSORRT_VERSION \
45
+ libnvinfer-plugin-dev=$TENSORRT_VERSION
46
+ wget https://github.com/CVCUDA/CV-CUDA/releases/download/v0.15.0-beta/cvcuda-lib-0.15.0-cuda12-x86_64-linux.deb
47
+ sudo dpkg -i cvcuda-lib-0.15.0-cuda12-x86_64-linux.deb
48
+ wget https://github.com/CVCUDA/CV-CUDA/releases/download/v0.15.0-beta/cvcuda-dev-0.15.0-cuda12-x86_64-linux.deb
49
+ sudo dpkg -i cvcuda-dev-0.15.0-cuda12-x86_64-linux.deb
50
+
26
51
- name : bazel-build-and-test
27
52
run : |
28
- bazel build //tracker/ ... && bazel test //tracker /...
53
+ bazel build //... && bazel test //...
You can’t perform that action at this time.
0 commit comments