Skip to content

Commit 29d334d

Browse files
authoredSep 13, 2024··
ci: set BLITZAR_BACKEND to be cpu (#160)
# Rationale for this change spaceandtimelabs/blitzar#175 makes blitzar panic when there is no GPU rather than falling back to CPU. This PR fixes the CI so that it can run tests on the CPU # Are these changes tested? See the job.
1 parent 5f56e98 commit 29d334d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
 

‎.github/workflows/lint-and-test.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ concurrency:
1111

1212
env:
1313
CARGO_TERM_COLOR: always
14+
BLITZAR_BACKEND: cpu
1415

1516
jobs:
1617
# Run cargo check (with various feature permutations)
@@ -71,10 +72,7 @@ jobs:
7172
run: |
7273
export DEBIAN_FRONTEND=non-interactive
7374
sudo apt-get update
74-
sudo apt-get install -y software-properties-common
75-
sudo add-apt-repository ppa:graphics-drivers/ppa
76-
sudo apt-get update
77-
sudo apt-get install -y clang lld nvidia-driver-560
75+
sudo apt-get install -y clang lld
7876
- name: Run cargo test
7977
run: cargo test --all-features
8078
- name: Dry run cargo test (proof-of-sql) (test feature only)

0 commit comments

Comments
 (0)
Please sign in to comment.