|
|
@ -168,40 +168,40 @@ build_linux:
|
|
|
|
- build/linux/release/bundle/
|
|
|
|
- build/linux/release/bundle/
|
|
|
|
allow_failure: true
|
|
|
|
allow_failure: true
|
|
|
|
|
|
|
|
|
|
|
|
snap:edge:
|
|
|
|
#snap:edge:
|
|
|
|
stage: release
|
|
|
|
# stage: release
|
|
|
|
image: "snapcore/snapcraft"
|
|
|
|
# image: "snapcore/snapcraft"
|
|
|
|
before_script:
|
|
|
|
# before_script:
|
|
|
|
- apt update && apt install git curl unzip clang cmake build-essential ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev -y
|
|
|
|
# - apt update && apt install git curl unzip clang cmake build-essential ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev -y
|
|
|
|
- git clone https://github.com/flutter/flutter.git
|
|
|
|
# - git clone https://github.com/flutter/flutter.git
|
|
|
|
- export PATH="$PATH:`pwd`/flutter/bin"
|
|
|
|
# - export PATH="$PATH:`pwd`/flutter/bin"
|
|
|
|
variables:
|
|
|
|
# variables:
|
|
|
|
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
|
|
|
|
# SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
|
|
|
|
only:
|
|
|
|
# only:
|
|
|
|
- main
|
|
|
|
# - main
|
|
|
|
script: [./scripts/publish-snap-edge.sh]
|
|
|
|
# script: [./scripts/publish-snap-edge.sh]
|
|
|
|
needs: ["build_linux"]
|
|
|
|
# needs: ["build_linux"]
|
|
|
|
artifacts:
|
|
|
|
# artifacts:
|
|
|
|
paths:
|
|
|
|
# paths:
|
|
|
|
- "./*.snap"
|
|
|
|
# - "./*.snap"
|
|
|
|
when: on_success
|
|
|
|
# when: on_success
|
|
|
|
allow_failure: true
|
|
|
|
# allow_failure: true
|
|
|
|
|
|
|
|
|
|
|
|
snap:publish:
|
|
|
|
#snap:publish:
|
|
|
|
stage: release
|
|
|
|
# stage: release
|
|
|
|
image: "snapcore/snapcraft"
|
|
|
|
# image: "snapcore/snapcraft"
|
|
|
|
variables:
|
|
|
|
# variables:
|
|
|
|
SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
|
|
|
|
# SNAPCRAFT_LOGIN_FILE: ${SNAPCRAFT_LOGIN_FILE}
|
|
|
|
only:
|
|
|
|
# only:
|
|
|
|
- tags
|
|
|
|
# - tags
|
|
|
|
script: [./scripts/publish-snap-stable.sh]
|
|
|
|
# script: [./scripts/publish-snap-stable.sh]
|
|
|
|
needs: ["build_linux"]
|
|
|
|
# needs: ["build_linux"]
|
|
|
|
artifacts:
|
|
|
|
# artifacts:
|
|
|
|
paths:
|
|
|
|
# paths:
|
|
|
|
- "./*.snap"
|
|
|
|
# - "./*.snap"
|
|
|
|
when: on_success
|
|
|
|
# when: on_success
|
|
|
|
expire_in: 1 week
|
|
|
|
# expire_in: 1 week
|
|
|
|
allow_failure: true
|
|
|
|
# allow_failure: true
|
|
|
|
|
|
|
|
|
|
|
|
update-dependencies:
|
|
|
|
update-dependencies:
|
|
|
|
stage: coverage
|
|
|
|
stage: coverage
|
|
|
|