CI: Add git commit sha in the bundle name

This commit is contained in:
Jordan Petridis 2018-08-16 04:52:55 +03:00
parent 5a0413b3e4
commit 86545e5f99
No known key found for this signature in database
GPG Key ID: CEABAD9F5683B9A6

View File

@ -4,7 +4,7 @@ stages:
- review
variables:
BUNDLE: "gnome-podcasts-dev.flatpak"
BUNDLE: "org.gnome.Podcasts.${CI_COMMIT_REF_SHA}.flatpak"
flatpak:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:3.28
@ -23,15 +23,13 @@ flatpak:
# Run the tests
- |
flatpak-builder --run \
xvfb-run -a -s "-screen 0 1024x768x24" \
flatpak-builder --run \
--env=CARGO_HOME="target/cargo-home/" \
--env=RUSTFLAGS="--cfg rayon_unstable" \
app org.gnome.Podcasts.json \
cargo test -- --test-threads=1
- ls -alR
- tree -d
# - flatpak-builder --run app org.gnome.Podcasts.json cargo test -- --test-threads=1 --ignored
# Create a flatpak bundle