Install `libxkbcommon-dev` for `ubuntu-latest` in CI

This commit is contained in:
Héctor Ramón Jiménez 2021-06-26 12:16:31 +02:00
parent c6c3594c83
commit 1b6cf05f5f
No known key found for this signature in database
GPG Key ID: 44B88EB52AB1EE8D
2 changed files with 11 additions and 0 deletions

View File

@ -11,6 +11,11 @@ jobs:
- name: Install cargo-deb
run: cargo install cargo-deb
- uses: actions/checkout@master
- name: Install dependencies
run: |
export DEBIAN_FRONTED=noninteractive
sudo apt-get -qq update
sudo apt-get install -y libxkbcommon-dev
- name: Enable Link Time Optimizations
run: |
echo "[profile.release]" >> Cargo.toml

View File

@ -12,6 +12,12 @@ jobs:
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Install dependencies
if: matrix.os == 'ubuntu-latest'
run: |
export DEBIAN_FRONTED=noninteractive
sudo apt-get -qq update
sudo apt-get install -y libxkbcommon-dev
- name: Run tests
run: |
cargo test --verbose --all