Skip to content

fix(wallpaper): scan directories off the UI thread to stop large-fold… #883

fix(wallpaper): scan directories off the UI thread to stop large-fold…

fix(wallpaper): scan directories off the UI thread to stop large-fold… #883

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
# Cancel in-progress runs for the same branch/PR when new commits land.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
format:
name: clang-format
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- name: Install tools
run: |
pacman -Syu --noconfirm --needed git clang
- uses: actions/checkout@v4
- name: Check formatting
run: |
mapfile -d '' files < <(find src \( -name '*.cpp' -o -name '*.h' \) -print0)
clang-format --dry-run -Werror "${files[@]}"
build:
name: Build (debug)
runs-on: ubuntu-latest
container:
image: archlinux:latest
steps:
- name: Install dependencies
run: |
pacman -Syu --noconfirm --needed \
base-devel git meson ninja pkgconf \
wayland wayland-protocols \
libglvnd freetype2 fontconfig \
cairo pango harfbuzz \
libxkbcommon glib2 \
sdbus-cpp libpipewire polkit \
pam curl libwebp librsvg \
libqalculate libxml2 \
jemalloc just clang
- uses: actions/checkout@v4
- name: Build
run: just build
- name: Test
run: just test debug --print-errorlogs
- name: Lint
run: just lint