chore(ci): simplify workflows #128
No reviewers
Labels
No labels
area:agents
area:ai
area:config
area:dashboard
area:design
area:design-review
area:devtools
area:entities
area:gallery
area:generate
area:image
area:infra
area:meta
area:model-browser
area:navigation
area:presets
area:security
area:sessions
area:settings
area:sharing
area:test
area:ux
area:webhook
area:workdir
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/loom!128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/simplify-workflows"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
pull_requesttrigger, keep push on all branchesloom-gtk+loom-tuiastar.gzfor x86_64 and aarch64flatpak.jacquin.appvia rsyncTest plan
flatpak remote-add+flatpak installworks from the self-hosted repo🤖 Generated with Claude Code
Review Summary
Solid simplification of the CI/CD workflows. Cutting out nfpm/AppImage/deb/rpm/apk is a big win. I've added inline comments for a few concerns that should be addressed before merge.
Key Issues
branches: ["**"]on all pushes might be too aggressiveSee inline comments for details.
@ -37,2 +35,2 @@id: versionrun: echo "version=${GITHUB_REF_NAME#v}" >> $GITHUB_OUTPUT- name: Import GPG signing keyrun: |Potential race condition: if the runner cache contains an old GPG key,
gpg --batch --importwill fail with "key already exists".Add
--yesflag or check if key exists first:Or check before importing:
@ -58,0 +59,4 @@mkdir -p ~/.sshchmod 700 ~/.sshecho "${{ secrets.CI_SSH_KEY }}" > ~/.ssh/deploychmod 600 ~/.ssh/deployConsider using a hostname instead of static IP
192.168.1.240. If the Caddy server IP changes, you'll need to update secrets. A DNS entry likeflatpak.jacquin.appwould be more maintainable.Example:
@ -2,9 +2,7 @@ name: QAon:push:QA workflow currently runs on ALL pushes to ALL branches. This means untested feature branches trigger CI. Consider:
pull_requesttrigger for PRs to mainbranches.ignore: ["**/experimental", "**/wip"]What's your preference here?
looks good to me
@ -172,3 +113,1 @@--cross-file /tmp/aarch64-cross.txtmeson compile -C builddirDESTDIR=$PWD/install meson install -C builddirrun: cargo build --release --target aarch64-unknown-linux-gnu -p loom-gtk -p loom-tuiThe
OPENSSL_INCLUDE_DIRandOPENSSL_LIB_DIRenvironment variables are set for cross-compilation, but you're not linking OpenSSL directly (rustup handles it via cargo). These can be dropped to simplify the build matrix.Check: what's the actual reason these are needed?
Addressed all review comments:
pull_request: branches: [main], also fixed*→**glob to match branches with/(e.g.ci/foo,tui/bar)openssl-syslinks OpenSSL natively; when cross-compiling for aarch64, headers/libs are in/usr/lib/aarch64-linux-gnu/and/usr/include/aarch64-linux-gnu/, not the default search paths. Without the explicit vars,cargo buildfails to find them.--yesflag to handle pre-existing keys on cached runners192.168.1.240toflatpak.jacquin.app(AdGuard resolves it)