Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Guido Gunther
gnome-contacts
Commits
334f9cdb
Commit
334f9cdb
authored
Jun 19, 2020
by
Guido Gunther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gitlab-ci: Build debs
Override upstream CI to build Debian packages
parent
91930605
Pipeline
#56317
passed with stages
in 7 minutes and 5 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
61 deletions
+21
-61
.gitlab-ci.yml
.gitlab-ci.yml
+21
-61
No files found.
.gitlab-ci.yml
View file @
334f9cdb
include
:
-
'
https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-definitions.yml'
stages
:
-
build-flatpak
-
build-arm-flatpak
-
package
-
test-package
package:deb-debian-buster:
extends
:
.l5-build-debian-package
package:deb-debian-buster:arm64:
tags
:
-
librem5:arm64
extends
:
.l5-build-debian-package
# We always use flatpak-builder to check if everything still works.
flatpak:master:
tags
:
-
flatpak
image
:
registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage
:
build-flatpak
script
:
-
flatpak-builder --stop-at=gnome-contacts app data/flatpak/org.gnome.Contacts.json
# Make sure to keep this in sync with the Flatpak manifest, all arguments
# are passed except the config-args because we build it ourselves
-
flatpak build app meson --prefix=/app _build
-
flatpak build app ninja -C _build test
-
flatpak build app ninja -C _build install
-
flatpak-builder --finish-only --repo=repo app data/flatpak/org.gnome.Contacts.json
# Make a Flatpak Contacts bundle for people to test
-
flatpak build-bundle repo contacts-dev.flatpak --runtime-repo=https://nightly.gnome.org/gnome-nightly.flatpakrepo org.gnome.Contacts
# Run the tests
-
bash +x ./.gitlab-ci/run-tests.sh
artifacts
:
reports
:
junit
:
"
_build/${CI_JOB_NAME}-report.xml"
name
:
"
gnome-contacts-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when
:
always
paths
:
-
contacts-dev.flatpak
-
_build/meson-logs/
expire_in
:
14 days
cache
:
paths
:
-
.flatpak-builder/cache
autopkgtest-debian-buster-package
:
dependencies
:
-
package:deb-debian-buster
extends
:
.l5-autopkgtest-debian-package
flatpak-arm64:master:
tags
:
-
ARM64
image
:
jsparber/ci-arm64:arm64
stage
:
build-arm-flatpak
script
:
-
flatpak-builder --stop-at=gnome-contacts app data/flatpak/org.gnome.Contacts.json
# Make sure to keep this in sync with the Flatpak manifest, all arguments
# are passed except the config-args because we build it ourselves
-
flatpak build app meson --prefix=/app _build
-
flatpak build app ninja -C _build test
-
flatpak build app ninja -C _build install
-
flatpak-builder --finish-only --repo=repo app data/flatpak/org.gnome.Contacts.json
# Make a Flatpak Contacts bundle for people to test
-
flatpak build-bundle repo contacts-dev.flatpak --runtime-repo=https://nightly.gnome.org/gnome-nightly.flatpakrepo org.gnome.Contacts
# Run the tests
-
bash +x ./.gitlab-ci/run-tests.sh
artifacts
:
reports
:
junit
:
"
_build/${CI_JOB_NAME}-report.xml"
name
:
"
gnome-contacts-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when
:
always
paths
:
-
contacts-dev.flatpak
-
_build/meson-logs/
expire_in
:
14 days
cache
:
paths
:
-
.flatpak-builder/cache
lintian-debian-buster-package
:
dependencies
:
-
package:deb-debian-buster
extends
:
.l5-lintian-debian-package
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment