summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-06-26 12:16:31 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2021-06-26 12:19:23 +0200
commit1b6cf05f5f49272b500336b4f0704805f7a81b0b (patch)
tree176d5496e87f9349a4a30a7f28df9707742534c8 /.github/workflows
parentc6c3594c830934e9a2c490b26051c6445ebf1b92 (diff)
downloadiced-1b6cf05f5f49272b500336b4f0704805f7a81b0b.tar.gz
iced-1b6cf05f5f49272b500336b4f0704805f7a81b0b.tar.bz2
iced-1b6cf05f5f49272b500336b4f0704805f7a81b0b.zip
Install `libxkbcommon-dev` for `ubuntu-latest` in CI
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml5
-rw-r--r--.github/workflows/test.yml6
2 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3b0bf033..480a8710 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index bc531abf..0450f13d 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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