Skip to content
Snippets Groups Projects
Commit fb500d57 authored by Jerome Humbert's avatar Jerome Humbert
Browse files

Install graphic drivers on Linux

parent 32359b53
No related branches found
No related tags found
No related merge requests found
...@@ -34,9 +34,16 @@ jobs: ...@@ -34,9 +34,16 @@ jobs:
toolchain: ${{ matrix.toolchain }} toolchain: ${{ matrix.toolchain }}
components: rustfmt, clippy components: rustfmt, clippy
override: true override: true
- name: Install Linux packages - name: Install Bevy dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libxcb-shape0-dev libxcb-xfixes0-dev run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libxcb-shape0-dev libxcb-xfixes0-dev
if: runner.os == 'linux' if: runner.os == 'linux'
- name: Install graphic drivers
run: |
sudo apt-get update -y -qq
sudo add-apt-repository ppa:oibaf/graphics-drivers -y
sudo apt-get update
sudo apt install -y xvfb libegl1-mesa libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
if: runner.os == 'linux'
- name: Build & run tests - name: Build & run tests
run: cargo test run: cargo test
env: env:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment