mirror of
https://github.com/csd4ni3l/soundboard.git
synced 2026-03-10 09:09:24 +01:00
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:
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
@@ -27,7 +27,7 @@ jobs:
|
||||
target
|
||||
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'
|
||||
run: |
|
||||
sudo apt update
|
||||
@@ -36,7 +36,7 @@ jobs:
|
||||
libwayland-egl-backend-dev \
|
||||
libx11-dev libxext-dev libxrandr-dev libxinerama-dev libxcursor-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
|
||||
|
||||
|
||||
@@ -17,6 +17,10 @@ features = [
|
||||
"bevy_winit",
|
||||
]
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 2
|
||||
debug = false
|
||||
|
||||
[target.'cfg(target_os = "linux")'.dependencies.bevy]
|
||||
version = "0.17.3"
|
||||
features = ["wayland", "x11", "bevy_winit"]
|
||||
Reference in New Issue
Block a user