Install libxkbcommon-dev for ubuntu-latest in CI
This commit is contained in:
parent
c6c3594c83
commit
1b6cf05f5f
2 changed files with 11 additions and 0 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -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…
Add table
Add a link
Reference in a new issue