mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
fix ci?
This commit is contained in:
parent
9dde66693b
commit
f109eb83cd
3 changed files with 6 additions and 6 deletions
8
.github/workflows/lint.yml
vendored
8
.github/workflows/lint.yml
vendored
|
@ -9,16 +9,16 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install extra deps
|
||||
run: sudo apt-get update && sudo apt-get install -y libclang-dev libasound2-dev
|
||||
run: sudo apt-get update && sudo apt-get install -y libclang-dev libasound2-dev libjack-dev
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
components: clippy, rustfmt
|
||||
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: ewext -> target
|
||||
noita-proxy -> target
|
||||
|
||||
|
||||
- name: Check ewext for formatting
|
||||
run: cargo fmt --check
|
||||
working-directory: ./ewext
|
||||
|
@ -30,4 +30,4 @@ jobs:
|
|||
working-directory: ./ewext
|
||||
- name: Ask clippy for approval (proxy)
|
||||
run: cargo clippy -- -D clippy::all
|
||||
working-directory: ./noita-proxy
|
||||
working-directory: ./noita-proxy
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
|||
with:
|
||||
targets: x86_64-pc-windows-gnu
|
||||
- name: Install extra deps
|
||||
run: sudo apt-get update && sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev gcc-mingw-w64-i686 gcc-mingw-w64 libasound2-dev
|
||||
run: sudo apt-get update && sudo apt-get install -y libclang-dev libgtk-3-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev gcc-mingw-w64-i686 gcc-mingw-w64 libasound2-dev libjack-dev
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
|
|
|
@ -409,7 +409,7 @@ impl NetManager {
|
|||
extra.extend(data);
|
||||
let mut v = Vec::new();
|
||||
while extra.len() >= FRAME_SIZE {
|
||||
let mut compressed = vec![0u8; 4000];
|
||||
let mut compressed = vec![0u8; 1024];
|
||||
if let Ok(len) =
|
||||
encoder.encode_float(&extra[..FRAME_SIZE], &mut compressed)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue