Skip to content

Commit

Permalink
CI: fix wrong xkbcommon debain package
Browse files Browse the repository at this point in the history
  • Loading branch information
Snowiiii committed Jul 10, 2024
1 parent cd08864 commit 18aa34e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
uses: actions/checkout@v4
- name: Install packages
uses: actions/checkout@v4
- name: apt install xkbcommon
- name: apt-get install -y libxkbcommon-dev
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.204.0
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang
vulkan-components: Glslang
vulkan-use-cache: true
- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
Expand All @@ -38,7 +38,7 @@ jobs:
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.204.0
vulkan-components: Vulkan-Headers, Vulkan-Loader, Glslang
vulkan-components: Glslang
vulkan-use-cache: true
- name: Setup Rust toolchain
uses: actions-rust-lang/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions crates/vent-runtime/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ fn handle_program_result(result: Result<Output>) {
String::from_utf8(output.stderr)
.unwrap_or("Failed to print program stderr".to_string())
);
panic!("Shader compilation failed. Status: {}", output.status);
eprintln!("Shader compilation failed. Status: {}", output.status);
}
}
Err(error) => {
panic!("Failed to compile shader. Cause: {}", error);
eprintln!("Failed to compile shader. Cause: {}", error);
}
}
}
4 changes: 2 additions & 2 deletions crates/vent-ui/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,11 @@ fn handle_program_result(result: Result<Output>) {
String::from_utf8(output.stderr)
.unwrap_or("Failed to print program stderr".to_string())
);
panic!("Shader compilation failed. Status: {}", output.status);
eprintln!("Shader compilation failed. Status: {}", output.status);
}
}
Err(error) => {
panic!("Failed to compile shader. Cause: {}", error);
eprintln!("Failed to compile shader. Cause: {}", error);
}
}
}

0 comments on commit 18aa34e

Please sign in to comment.