Skip to content

Commit

Permalink
remove unnecessary dependences from CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
micahrj committed Mar 30, 2024
1 parent 119fc25 commit 2c8ef79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install XCB and GL dependencies
if: contains(matrix.os, 'ubuntu')
run: sudo apt-get install libx11-xcb-dev libxcb-dri2-0-dev libgl1-mesa-dev libxcb-icccm4-dev libxcursor-dev
run: sudo apt-get install libx11-xcb-dev libgl1-mesa-dev
- name: Install rust stable
uses: dtolnay/rust-toolchain@stable
with:
Expand All @@ -35,5 +35,3 @@ jobs:
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Check Formatting (rustfmt)
run: cargo fmt --all -- --check


2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ raw-window-handle = "0.5"

[target.'cfg(target_os="linux")'.dependencies]
x11rb = { version = "0.13.0", features = ["cursor", "resource_manager", "allow-unsafe-code"] }
x11 = { version = "2.21", features = ["xlib", "xcursor", "xlib_xcb"] }
x11 = { version = "2.21", features = ["xlib", "xlib_xcb"] }
nix = "0.22.0"

[target.'cfg(target_os="windows")'.dependencies]
Expand Down

0 comments on commit 2c8ef79

Please sign in to comment.