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
23 changes: 23 additions & 0 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: AppImage (Ubuntu 24.04)

on: [push, pull_request, workflow_dispatch]

permissions:
contents: read

jobs:
appimage:
name: AppImage (Ubuntu 24.04, glibc 2.39, x86_64)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Build and package
run: SRC="$GITHUB_WORKSPACE" OUT="$GITHUB_WORKSPACE/dist" bash packaging/appimage/build.sh

- uses: actions/upload-artifact@v4
with:
name: QLinuxDeviceManager-AppImage-x86_64-${{ github.sha }}
path: dist/*.AppImage
if-no-files-found: error
retention-days: 14
93 changes: 0 additions & 93 deletions .github/workflows/ci.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Rust

on: [push, pull_request, workflow_dispatch]

permissions:
contents: read

jobs:
rust:
name: fmt, clippy, test (Ubuntu 24.04)
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
build-essential pkg-config libgtk-4-dev libudev-dev libkmod-dev libdisplay-info-dev \
libv4l-dev libwayland-dev libxcb-randr0-dev clang libclang-dev gettext desktop-file-utils \
xvfb at-spi2-core

- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v2

- name: Format
run: cargo fmt --all --check

- name: Clippy
run: cargo clippy --workspace --all-targets --locked -- -D warnings

- name: Unit and integration tests
run: cargo test --workspace --locked --exclude qldm-gtk

# The UI smoke test needs a display; xvfb provides an X11 one.
- name: UI smoke test
run: xvfb-run -a cargo test -p qldm-gtk --locked --test ui_smoke

- name: Desktop entry and message catalogue
run: |
desktop-file-validate packaging/io.github.birdie-github.QLinuxDeviceManager.desktop
po/update-pot.sh
git diff --exit-code -I POT-Creation-Date po/qlinuxdevicemanager.pot

- name: Install into a staging directory
run: make install PREFIX=/usr DESTDIR="$PWD/stage"
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ BUILD/
*.patch
*.diff
.directory
executable_graph.k.json
/target
dist/
/target-appimage
218 changes: 0 additions & 218 deletions CMakeLists.txt

This file was deleted.

Loading