Skip to content

Commit

Permalink
ci: cuda_toolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Oct 16, 2024
1 parent 8cb8fcb commit 3d2dcc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ jobs:
run: |
sudo apt install crossbuild-essential-arm64
- uses: Jimver/cuda-toolkit@v0.2.18
if: runner.os == 'Linux' || runner.os == 'Windows'
id: cuda-toolkit


- uses: nttld/setup-ndk@v1
if: contains(matrix.arch, 'android')
id: setup-ndk
Expand Down Expand Up @@ -160,6 +165,7 @@ jobs:
- name: Build MaaDeps
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
CUDAToolkit_ROOT: ${{ steps.cuda-toolkit.outputs.CUDA_PATH }}
run: |
for attempt in 1 2 3
do
Expand Down

0 comments on commit 3d2dcc0

Please sign in to comment.