Commit c7cc43a5 authored by Sophie Herold's avatar Sophie Herold

Enable lto for release

parent 5f29d74b
Pipeline #217132 passed with stage
in 17 minutes and 15 seconds
......@@ -6,6 +6,9 @@ authors = ["Sophie Herold <sophie@hemio.de>"]
homepage = "https://gitlab.gnome.org/World/pika-backup"
edition = "2018"
[profile.release]
lto = true
[dependencies]
chrono = { version = "0.4", features = ["serde"] }
chrono-humanize = "0.1"
......
......@@ -39,7 +39,6 @@ modules:
- name: borg
buildsystem: simple
build-commands:
- pip3 install --no-index --find-links=. --prefix=/app setuptools_scm
- pip3 install --no-index --find-links=. --prefix=/app borgbackup
sources:
- type: file
......
......@@ -37,7 +37,6 @@ modules:
- name: borg
buildsystem: simple
build-commands:
- pip3 install --no-index --find-links=. --prefix=/app setuptools_scm
- pip3 install --no-index --find-links=. --prefix=/app borgbackup
sources:
- type: file
......
......@@ -5,7 +5,7 @@ REPO_NAME=pika-backup-dev
REPO_DIR=flatpak_repo
flatpak remove $APP_ID -y
flatpak-builder --install-deps-from=https://dl.flathub.org/repo/ \
flatpak-builder --install-deps-from=flathub \
--user --verbose --force-clean -y --repo=$REPO_DIR flatpak_out build-aux/ci.manifest.yml
flatpak build-bundle $REPO_DIR $APP_ID.flatpak $APP_ID
flatpak --force remote-delete $REPO_NAME
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment