Skip to content

Commit

Permalink
[druid-derive] do not enable x11 feature in dev dependencies (#1900)
Browse files Browse the repository at this point in the history
* Revert "Remove gtk from wasm CI (#1859)"

This reverts commit bb922b1.

* Revert "[druid-derive] Donot use gtk backend in dev dependencies (#1849)"

This reverts commit b60ff60.
  • Loading branch information
maan2003 committed Aug 6, 2021
1 parent 894ccba commit 11df13b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ jobs:
steps:
- uses: actions/checkout@v2

# libx11-dev is needed by druid-derive as dev dependency
- name: install libx11-dev
# libgtk-dev seems to be needed by e.g. druid-derive
- name: install libgtk-dev
run: |
sudo apt update
sudo apt install libx11-dev libpango1.0-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt install libgtk-3-dev
if: contains(matrix.os, 'ubuntu')

- name: install wasm-pack
Expand Down
2 changes: 1 addition & 1 deletion druid-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ quote = "1.0.7"
proc-macro2 = "1.0.19"

[dev-dependencies]
druid = { version = "0.7.0", path = "../druid", default-features = false, features = ["x11"] }
druid = { version = "0.7.0", path = "../druid" }

float-cmp = { version = "0.8.0", features = ["std"], default-features = false }

0 comments on commit 11df13b

Please sign in to comment.