Repair platform-specific tests and Windows manifest resources, separate completion snapshots, and split oversized modules without raising budgets. Include the reviewed display-brand, icon-picker, and file-index changes. Keep release asset compatibility and require explicit Preview publication.
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
name: Linux Lua configuration
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "**/*.rs"
|
|
- "**/Cargo.toml"
|
|
- "Cargo.lock"
|
|
- "rust-toolchain.toml"
|
|
- ".github/workflows/linux-lua.yml"
|
|
pull_request:
|
|
paths:
|
|
- "**/*.rs"
|
|
- "**/Cargo.toml"
|
|
- "Cargo.lock"
|
|
- "rust-toolchain.toml"
|
|
- ".github/workflows/linux-lua.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
ubuntu-24-04:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install native dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y --no-install-recommends \
|
|
build-essential cmake pkg-config libasound2-dev libdbus-1-dev libudev-dev \
|
|
libfontconfig1-dev libfreetype6-dev \
|
|
libegl1-mesa-dev libgl1-mesa-dev \
|
|
libwayland-dev libxkbcommon-dev libxkbcommon-x11-dev \
|
|
libx11-xcb-dev libxcb1-dev libxcb-render0-dev \
|
|
libxcb-shape0-dev libxcb-xfixes0-dev libxcb-xinput-dev libxcb-xkb-dev libxi-dev
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
toolchain: "1.97.1"
|
|
- uses: Swatinem/rust-cache@v2
|
|
- name: Test Lua configuration on Wayland and X11 build
|
|
run: |
|
|
cargo test --locked -p nebula config::
|
|
- name: Check Linux release build
|
|
run: cargo check --workspace --release
|