CI: Enable snapcraft remote-build

This commit is contained in:
Krille Fear 2021-09-26 07:41:27 +00:00
parent 2884a75792
commit 98deeff98b
3 changed files with 16 additions and 1 deletions

View file

@ -179,6 +179,18 @@ build_linux_arm64:
paths:
- 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:
stage: coverage
needs: []

View file

@ -1,6 +1,6 @@
#!/bin/sh -ve
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > 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 logout

View file

@ -23,6 +23,9 @@ description: |
grade: stable
confinement: strict
architectures:
- build-on: amd64
parts:
olm:
plugin: cmake