gitlabci: add flatpak build and reformat tabs.
This commit is contained in:
parent
a253d7ebf5
commit
bc2da6e59e
@ -2,13 +2,14 @@ stages:
|
|||||||
- test
|
- test
|
||||||
- lint
|
- lint
|
||||||
|
|
||||||
variables:
|
|
||||||
# RUSTFLAGS: "-C link-dead-code"
|
|
||||||
RUST_BACKTRACE: "FULL"
|
|
||||||
|
|
||||||
.cargo_test_template: &cargo_test
|
.cargo_test_template: &cargo_test
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
|
# variables:
|
||||||
|
# RUSTFLAGS: "-C link-dead-code"
|
||||||
|
# RUST_BACKTRACE: "FULL"
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -yqq
|
- apt-get update -yqq
|
||||||
- apt-get install -yqq --no-install-recommends build-essential libgtk-3-dev meson
|
- apt-get install -yqq --no-install-recommends build-essential libgtk-3-dev meson
|
||||||
@ -27,10 +28,21 @@ stable:test:
|
|||||||
<<: *cargo_test
|
<<: *cargo_test
|
||||||
|
|
||||||
# nightly:test:
|
# nightly:test:
|
||||||
# # https://hub.docker.com/r/rustlang/rust/
|
# https://hub.docker.com/r/rustlang/rust/
|
||||||
# image: "rustlang/rust:nightly"
|
# image: "rustlang/rust:nightly"
|
||||||
# <<: *cargo_test
|
# <<: *cargo_test
|
||||||
|
|
||||||
|
flatpak:
|
||||||
|
image: flatpak/flatpak-builder:gnome-3-28
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- flatpak-builder --force-clean --repo=repo app org.gnome.Hammond.json
|
||||||
|
- flatpak build-bundle repo hammond-dev.flatpak org.gnome.hammond
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- hammond-dev.flatpak
|
||||||
|
expire_in: 2 days
|
||||||
|
|
||||||
# Configure and run rustfmt on nightly
|
# Configure and run rustfmt on nightly
|
||||||
# Exits and builds fails if on bad format
|
# Exits and builds fails if on bad format
|
||||||
rustfmt:
|
rustfmt:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user