Skip to content
Merged
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
15 changes: 15 additions & 0 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,21 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

# bundleWebUi (a Gradle dep of preBuild) shells out to
# scripts/build-web-ui.sh, which runs `npm run build` in desktop/. That
# invokes electron-builder for ALL configured Linux targets
# (AppImage + deb + rpm + pacman), so the runner needs rpm + bsdtar
# even though Android doesn't consume the installers. PR #98 added
# pacman+rpm targets without updating this workflow; every Android CI
# run since 2026-05-20 has been red on bsdtar exit 127.
# libarchive-tools -> provides bsdtar (pacman target)
# rpm -> rpm target
- name: Install Linux build deps
# `apt-get update` prefix: the cached package index on ubuntu-latest
# often points to .deb versions that have rolled off the mirror, so
# a bare install hits HTTP 404 / exit 100. Refresh the index first.
run: sudo apt-get update && sudo apt-get install -y rpm libarchive-tools

- name: Run unit tests
run: ./gradlew test

Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/android-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

# build-web-ui.sh runs `npm run build` in desktop/, which invokes
# electron-builder for all configured Linux targets. Pacman needs
# bsdtar (libarchive-tools); rpm target needs the rpm package. See
# android-ci.yml for the full backstory on the PR #98 regression.
- name: Install Linux build deps
# `apt-get update` prefix: the cached package index on ubuntu-latest
# often points to .deb versions that have rolled off the mirror, so
# a bare install hits HTTP 404 / exit 100. Refresh the index first.
run: sudo apt-get update && sudo apt-get install -y rpm libarchive-tools

# Build the full React UI so the APK has a working WebView.
# bundleWebUi (Gradle preBuild dep) would do this too, but running
# it explicitly here keeps this workflow's intent self-documenting.
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/desktop-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,20 @@ jobs:
- name: Run tests
run: npm test

# Must run BEFORE the build — electron-builder's deb/rpm/pacman packagers
# run inside `npm run build` (see desktop/electron-builder.yml linux.target).
# PR #98 added rpm + pacman targets without updating CI, so every Desktop
# CI run since 2026-05-20 (commit 4679cc89) has been red on the same
# bsdtar-missing failure. Mirror desktop-release.yml's setup step:
# libarchive-tools -> provides bsdtar, required by the pacman target
# rpm -> required by the rpm target
- name: Install Linux build deps
# apt-get update prefix: the cached package index on ubuntu-latest
# frequently points to .deb versions that have already rolled off
# the mirror, so a bare `install` fails with HTTP 404 / exit 100.
# Refresh the index first.
run: sudo apt-get update && sudo apt-get install -y rpm libarchive-tools
working-directory: .

- name: Build
run: npm run build
10 changes: 10 additions & 0 deletions .github/workflows/desktop-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ jobs:
- name: Run tests
run: npm test

# Must run BEFORE the build — electron-builder's deb/rpm/pacman packagers
# run inside `npm run build`. See desktop-ci.yml for the PR #98 backstory.
- name: Install Linux build deps
if: runner.os == 'Linux'
# `apt-get update` prefix: the cached package index on ubuntu-latest
# often points to .deb versions that have rolled off the mirror, so
# a bare install hits HTTP 404 / exit 100. Refresh the index first.
run: sudo apt-get update && sudo apt-get install -y rpm libarchive-tools
working-directory: .

- name: Build
run: npm run build

Expand Down
Loading