mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-19 04:15:09 +00:00
CI: Enable snapcraft remote-build
This commit is contained in:
parent
2884a75792
commit
98deeff98b
3 changed files with 16 additions and 1 deletions
|
@ -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…
Reference in a new issue