summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-18 07:45:49 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-12-18 07:45:49 +0100
commita14b39555e5c480422c24df7d708dd1addd0a67b (patch)
tree00404b80c27f715d3739f14d882e88241d68f0c1 /.github
parent0f2e20f5e5b1f0658ab4e6cbe6fdda9ca97f2b36 (diff)
downloadiced-a14b39555e5c480422c24df7d708dd1addd0a67b.tar.gz
iced-a14b39555e5c480422c24df7d708dd1addd0a67b.tar.bz2
iced-a14b39555e5c480422c24df7d708dd1addd0a67b.zip
Allow clipboard access in `Widget::on_event`
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--.github/workflows/test.yml3
2 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 804273ff..65a4f0a7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -8,6 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: hecrj/setup-rust-action@v1
+ - name: Install xcb libraries
+ run: sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev
- name: Install cargo-deb
run: cargo install cargo-deb
- uses: actions/checkout@master
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 4f911303..09e52f92 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -12,6 +12,9 @@ jobs:
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
+ - name: Install xcb libraries
+ if: matrix.os == 'ubuntu-latest'
+ run: sudo apt-get install -y libxcb-shape0-dev libxcb-xfixes0-dev
- name: Run tests
run: |
cargo test --verbose --all