Skip to content

Conversation

Stefterv
Copy link
Collaborator

@Stefterv Stefterv commented Aug 14, 2025

Out of caution we kept the Ant GitHub Actions in the repository, this PR will remove them and introduce a revised version of the Gradle based GitHub Actions, providing the following.

  • Setup specific to Processing is now stored in a shared action, this will cut down on repeated configuration, if anyone knows a good way to clean up the matrices I would like to know.
  • This PR pulls the configuration files out of Gradle and places them into app/linux similar to macOS and Windows.
  • This PR separates the different platforms in the release action, originally they were done with a matrix but it started to have too many exceptions and platform specific flow that I decided to have a unique job for every platform still with a matrix on the architectures.
  • This PR adds support for flatpak (not yet flathub) and add the .deb file to the release which is used by flatpak and snap.

Closes #890
Closes #1211
and includes #1202

TODO

  • Include the new SVG-based icons for every platform (Should be a new issue)
    - Separate out Windows signing
    - Separate out macOS notarisation

Follow up tasks

  • Separate out the macOS notarisation step for a future macOS App Store Release
  • Flathub Submission

@Stefterv Stefterv changed the title Revisiting the GitHub Actions Release system Revisiting the GitHub Actions Release system (.flatpak + .deb) Aug 15, 2025
@GoToLoop
Copy link

Maybe also add the AppImage universal format?

@Stefterv Stefterv requested a review from catilac September 22, 2025 07:42
@Stefterv Stefterv marked this pull request as ready for review September 22, 2025 07:42
@Stefterv Stefterv added this to the 4.4.8 milestone Sep 22, 2025
@Stefterv Stefterv moved this to Testing in Processing Roadmap Sep 22, 2025
@Stefterv Stefterv moved this from Testing to In progress in Processing Roadmap Sep 22, 2025
workingDir = dir.file("../flatpak").asFile
commandLine(
"flatpak-builder",
"--install-deps-from=https://flathub.org/repo/flathub.flatpakrepo",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not how --install-deps-from works.

You'll need to

    commandLine(
        "flatpak",
        "remote-add",
        "--user",
        "--if-not-exists",
        "flathub",
        "https://flathub.org/repo/flathub.flatpakrepo"
    )

first and then --install-deps-from=flathub.

@@ -0,0 +1,38 @@
id: $identifier
runtime: org.freedesktop.Platform
runtime-version: '24.08'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

25.08 is out at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

Please include a non-snap installation method for linux users on distros that disable snap Official FlatPak release for Processing IDE
3 participants