mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-22 09:10:44 +01:00
CI: Enable snapcraft remote-build
This commit is contained in:
parent
cda26d9c9c
commit
97fde68619
@ -179,6 +179,18 @@ build_linux_arm64:
|
|||||||
paths:
|
paths:
|
||||||
- build/linux/arm64/release/bundle/
|
- build/linux/arm64/release/bundle/
|
||||||
|
|
||||||
|
deploy_linux_snap_edge:
|
||||||
|
image: cibuilds/snapcraft:core18
|
||||||
|
stage: deploy
|
||||||
|
script: [./scripts/publish-snap-edge.sh]
|
||||||
|
only:
|
||||||
|
- main
|
||||||
|
needs: [build_linux_x86]
|
||||||
|
artifacts:
|
||||||
|
when: on_success
|
||||||
|
paths:
|
||||||
|
- ./*.snap
|
||||||
|
|
||||||
update-dependencies:
|
update-dependencies:
|
||||||
stage: coverage
|
stage: coverage
|
||||||
needs: []
|
needs: []
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -ve
|
#!/bin/sh -ve
|
||||||
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
|
||||||
snapcraft login --with snapcraft.login
|
snapcraft login --with snapcraft.login
|
||||||
snapcraft
|
snapcraft remote-build --launchpad-accept-public-upload --status --launchpad-user krillechritzel
|
||||||
snapcraft upload --release=edge *.snap
|
snapcraft upload --release=edge *.snap
|
||||||
snapcraft logout
|
snapcraft logout
|
||||||
|
@ -23,6 +23,9 @@ description: |
|
|||||||
grade: stable
|
grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
|
architectures:
|
||||||
|
- build-on: amd64
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
olm:
|
olm:
|
||||||
plugin: cmake
|
plugin: cmake
|
||||||
|
Loading…
x
Reference in New Issue
Block a user