Skip to content

Commit

Permalink
add linux deps to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Dec 1, 2024
1 parent 048f47e commit 52157f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ jobs:
run: |
rustup show
cargo install cross --git https://github.com/cross-rs/cross --rev 1b8cf50d20180c1a394099e608141480f934b7f7
sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
- name: Install cross for mac and windows
if: ${{ !contains(matrix.TARGET, 'linux') }}
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![warn(clippy::all, rust_2018_idioms)]
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] // hide console window on Windows in release
#![allow(static_mut_refs)] // dirs crate has warnings that break the CI build.

// When compiling natively:
#[cfg(not(target_arch = "wasm32"))]
Expand Down

0 comments on commit 52157f0

Please sign in to comment.