Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,34 @@ jobs:
path: target/package/*-setup.exe
retention-days: 14

desktop-linux:
name: Linux app (x64)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install the pinned Rust toolchain
run: rustup show active-toolchain || rustup toolchain install
- uses: Swatinem/rust-cache@v2
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends libgl1-mesa-dev libxkbcommon-dev libvulkan-dev
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{ env.QT_VERSION }}
host: linux
target: desktop
arch: linux_gcc_64
cache: true
aqtsource: git+https://github.com/miurahr/aqtinstall.git
- name: Clippy
run: cargo clippy --locked -p nectarlink-desktop -p nectarlink-vcam -p s1-qt-rust --all-targets -- -D warnings
- name: Tests
run: cargo test --locked -p nectarlink-desktop -p nectarlink-vcam
- name: Release build
run: cargo build --locked --release -p nectarlink-desktop -p nectarlink-vcam

android:
name: Android app
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ signing.properties
**/*.rs.bk

# ---- Qt / C++ build output ----
/.qt6-sysroot/
build/
build-*/
*.qmlc
Expand Down
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions core/nectarlink-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ windows = { workspace = true, features = [
"Win32_System_Threading",
] }

[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"


[dev-dependencies]
tempfile.workspace = true

Expand Down
Loading
Loading