fix: Snap

This commit is contained in:
Christian Pauly 2020-10-04 19:06:41 +02:00
parent 4345df387d
commit 4648466411
2 changed files with 16 additions and 17 deletions

View File

@ -182,21 +182,6 @@ pages:
only:
- main
snap:amd64:
stage: coverage
image: ubuntu:20.04
except:
- coverage
script:
- apt-get update -qy
- apt-get install -y snapcraft
- snapcraft --debug
artifacts:
paths:
- './*.snap'
when: on_success
expire_in: 1 week
snap:publish-candidate:
stage: publish
image: ubuntu:20.04

View File

@ -16,10 +16,24 @@ apps:
- home
parts:
olm:
source: .
source-type: git
plugin: cmake
build-packages:
- build-essential
override-build: |
rm -r olm
git clone https://gitlab.matrix.org/matrix-org/olm.git
cd olm
cmake . -Bbuild
cmake --build build
sudo make install
fluffychat:
source: .
plugin: flutter
flutter-target: lib/main.dart
stage-packages:
- libsqlite3-0
- libolm3
override-build: sudo apt install libolm3
after: [olm]