Skip to content

Commit

Permalink
add cuda
Browse files Browse the repository at this point in the history
  • Loading branch information
xcnick committed Sep 4, 2024
1 parent fa99bef commit bd3ae12
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,30 @@ jobs:
cmake -S . -B build -DBUILD_CUDA=OFF
cmake --build build -j $(nproc)
ubuntu-22-cuda:
steps:
- name: Clone
id: checkout
uses: actions/checkout@v4

- name: Dependencies
id: depends
run: |
sudo apt-get update
sudo apt-get install -y libopenblas-dev build-essential cmake
- name: CUDA
uses: Jimver/[email protected]
id: cuda-toolkit
with:
cuda: '12.5.0'

- name: Build
id: cmake-build
run: |
cmake -S . -B build -DBUILD_CUDA=ON
cmake --build build -j $(nproc)
# build_and_test_gpu:
# runs-on: [self-hosted, linux, x64, gpu]
# env:
Expand Down

0 comments on commit bd3ae12

Please sign in to comment.