1
0
Fork 0

Remove unnecessary dependences from CI pipeline (#185)

This commit is contained in:
Micah Johnston 2024-03-30 00:29:18 -05:00 committed by GitHub
parent 119fc25cd6
commit 905854d026
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 6 deletions

View file

@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install XCB and GL dependencies - name: Install XCB and GL dependencies
if: contains(matrix.os, 'ubuntu') 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-dev libxcb1-dev libx11-xcb-dev libgl1-mesa-dev
- name: Install rust stable - name: Install rust stable
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with:
@ -35,5 +35,3 @@ jobs:
run: cargo clippy --workspace --all-targets --all-features -- -D warnings run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- name: Check Formatting (rustfmt) - name: Check Formatting (rustfmt)
run: cargo fmt --all -- --check run: cargo fmt --all -- --check

View file

@ -24,7 +24,7 @@ raw-window-handle = "0.5"
[target.'cfg(target_os="linux")'.dependencies] [target.'cfg(target_os="linux")'.dependencies]
x11rb = { version = "0.13.0", features = ["cursor", "resource_manager", "allow-unsafe-code"] } 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" nix = "0.22.0"
[target.'cfg(target_os="windows")'.dependencies] [target.'cfg(target_os="windows")'.dependencies]

View file

@ -23,10 +23,10 @@ Below is a proposed list of milestones (roughly in-order) and their status. Subj
### Linux ### Linux
Install dependencies, e.g., Install dependencies, e.g.:
```sh ```sh
sudo apt-get install libx11-dev libxcursor-dev libxcb-dri2-0-dev libxcb-icccm4-dev libx11-xcb-dev sudo apt-get install libx11-dev libxcb1-dev libx11-xcb-dev libgl1-mesa-dev
``` ```
## License ## License