The cleanup is omitted in the GNOME flatpak build, because of a bug in flatpak-builder, originally reported in 2017. But, it is cleaned up if running the full build without splitting build and finish steps.
- Drop some cleanup commands that have no effect
- Add mupdf-devel cleanup command
- Compile pyc files to improve performance
Thanks, @yakushabb!
> **Note**
> The cleanup is omitted in the GNOME flatpak build, because of a bug in flatpak-builder, [originally reported in 2017](https://github.com/flatpak/flatpak-builder/issues/14). But, it is cleaned up if running the full build without splitting build and finish steps.
Originally reported here: https://github.com/flathub/page.codeberg.censor.Censor/pull/4
> **Note**
> The [build job](https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6220344) for 0d377ca367b74ea77f841eaa9a8e999a7222eb11 finished with status **success**. Install and run the x86_64 test build with:
>
> curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6220344/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak
> flatpak install --user censor-dev.flatpak
> flatpak run --user page.codeberg.censor.Censor.Devel
> **Note**
> The [build job](https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222458) for 6e934423c93113c04e52d3193d187d9904308686 finished with status **success**. Install and run the x86_64 test build with:
>
> curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222458/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak
> flatpak install --user censor-dev.flatpak
> flatpak run --user page.codeberg.censor.Censor.Devel
mahlzahn
force-pushed mahlzahn/yakushabb_improve_cleanup from 6e934423c9
All checks were successful
/ build-start (pull_request_target) Successful in 12s
> **Note**
> The [build job](https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222550) for 8c5a2a4266830a554e0e91ebff957f354fb5202e finished with status **success**. Install and run the x86_64 test build with:
>
> curl https://gitlab.gnome.org/mahlzahn/censor-ci/-/jobs/6222550/artifacts/raw/censor-dev.flatpak -o censor-dev.flatpak
> flatpak install --user censor-dev.flatpak
> flatpak run --user page.codeberg.censor.Censor.Devel
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?