Skip to content

Commit dca91bc

Browse files
committed
fix CI
1 parent 30c25ee commit dca91bc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,11 @@ jobs:
145145
uses: dtolnay/rust-toolchain@stable
146146

147147
- name: Install dependencies
148-
run: sudo apt-get update; sudo apt-get install --no-install-recommends build-essential curl wget file libssl-dev
148+
run: |
149+
sudo apt-get update
150+
sudo apt-get install --no-install-recommends -y \
151+
build-essential curl wget file libssl-dev \
152+
libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
149153
150154
- name: Retrieve Cache for Slang
151155
uses: actions/cache/restore@v4
@@ -159,4 +163,4 @@ jobs:
159163
sweep-cache: true
160164
- name: Run Cargo Tests
161165
run: |
162-
SLANG_DIR=$SLANG_DIR cargo test --verbose
166+
SLANG_DIR=$SLANG_DIR LIBGL_ALWAYS_SOFTWARE=1 cargo test --verbose

0 commit comments

Comments
 (0)