Skip to content

Commit

Permalink
chore: also install cuda libs
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Aug 14, 2024
1 parent f711352 commit e7c851c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
- name: Extract MSRV from Cargo.toml
id: msrv
run: |
MSRV=$(cargo metadata --format-version 1 --no-deps | jq -r 'first(.packages[].rust_version | select(.))')
#MSRV=$(cargo metadata --format-version 1 --no-deps | jq -r 'first(.packages[].rust_version | select(.))')
MSRV=$(cat ./rust-toolchain)
echo "MSRV=$MSRV" >> "$GITHUB_OUTPUT"
#linux:
Expand Down Expand Up @@ -58,8 +59,8 @@ jobs:
with:
toolchain: ${{ needs.set-msrv.outputs.msrv }}
components: clippy
- name: Install OpenCL
run: sudo apt-get install -y ocl-icd-opencl-dev
- name: Install required packages
run: sudo apt install --no-install-recommends --yes ocl-icd-opencl-dev nvidia-cuda-dev
- name: Run cargo clippy default features
run: cargo clippy --workspace --all-targets -- -D warnings
#- name: Run cargo clippy with cuda and opencl features
Expand Down

0 comments on commit e7c851c

Please sign in to comment.