fix: Snap
This commit is contained in:
parent
4345df387d
commit
4648466411
|
@ -182,21 +182,6 @@ pages:
|
||||||
only:
|
only:
|
||||||
- main
|
- 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:
|
snap:publish-candidate:
|
||||||
stage: publish
|
stage: publish
|
||||||
image: ubuntu:20.04
|
image: ubuntu:20.04
|
||||||
|
|
|
@ -16,10 +16,24 @@ apps:
|
||||||
- home
|
- home
|
||||||
|
|
||||||
parts:
|
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:
|
fluffychat:
|
||||||
source: .
|
source: .
|
||||||
plugin: flutter
|
plugin: flutter
|
||||||
flutter-target: lib/main.dart
|
flutter-target: lib/main.dart
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libsqlite3-0
|
- libsqlite3-0
|
||||||
- libolm3
|
override-build: sudo apt install libolm3
|
||||||
|
after: [olm]
|
||||||
|
|
Loading…
Reference in a new issue