Install `libxkbcommon-dev` for `ubuntu-latest` in CI
This commit is contained in:
parent
c6c3594c83
commit
1b6cf05f5f
|
@ -11,6 +11,11 @@ jobs:
|
||||||
- name: Install cargo-deb
|
- name: Install cargo-deb
|
||||||
run: cargo install cargo-deb
|
run: cargo install cargo-deb
|
||||||
- uses: actions/checkout@master
|
- 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
|
- name: Enable Link Time Optimizations
|
||||||
run: |
|
run: |
|
||||||
echo "[profile.release]" >> Cargo.toml
|
echo "[profile.release]" >> Cargo.toml
|
||||||
|
|
|
@ -12,6 +12,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
rust-version: ${{ matrix.rust }}
|
rust-version: ${{ matrix.rust }}
|
||||||
- uses: actions/checkout@master
|
- 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
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
cargo test --verbose --all
|
cargo test --verbose --all
|
||||||
|
|
Loading…
Reference in New Issue