fix: Snap
This commit is contained in:
parent
4345df387d
commit
4648466411
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue