Make debug builds much less heavy by disabling unnecessary debug information, add ALSA headers to Linux and rename the step

This commit is contained in:
csd4ni3l
2026-01-23 18:45:09 +01:00
parent d8a7db6b78
commit 6e19790c93
2 changed files with 6 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ jobs:
target target
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install mold & clang (Linux) - name: Install mold, clang, Wayland, ALSA and x11 headers and dependencies (Linux)
if: matrix.os == 'ubuntu-22.04' if: matrix.os == 'ubuntu-22.04'
run: | run: |
sudo apt update sudo apt update
@@ -36,7 +36,7 @@ jobs:
libwayland-egl-backend-dev \ libwayland-egl-backend-dev \
libx11-dev libxext-dev libxrandr-dev libxinerama-dev libxcursor-dev \ libx11-dev libxext-dev libxrandr-dev libxinerama-dev libxcursor-dev \
libxi-dev libxfixes-dev libxrender-dev \ libxi-dev libxfixes-dev libxrender-dev \
libfreetype6-dev libfontconfig1-dev libgl1-mesa-dev libfreetype6-dev libfontconfig1-dev libgl1-mesa-dev libasound2-dev
shell: bash shell: bash

View File

@@ -17,6 +17,10 @@ features = [
"bevy_winit", "bevy_winit",
] ]
[profile.dev.package."*"]
opt-level = 2
debug = false
[target.'cfg(target_os = "linux")'.dependencies.bevy] [target.'cfg(target_os = "linux")'.dependencies.bevy]
version = "0.17.3" version = "0.17.3"
features = ["wayland", "x11", "bevy_winit"] features = ["wayland", "x11", "bevy_winit"]