Merge branch 'krille/clean-up-ci' into 'main'

chore: Clean up CI

See merge request ChristianPauly/fluffychat-flutter!260
This commit is contained in:
Christian Pauly 2020-11-08 09:05:25 +00:00
commit ede963fffc

View File

@ -53,7 +53,7 @@ build_web:
build_windows: build_windows:
extends: extends:
- .shared_windows_runners - .shared_windows_runners
stage: publish stage: coverage
script: script:
# Install chocolately # Install chocolately
- Set-ExecutionPolicy Bypass -Scope Process - Set-ExecutionPolicy Bypass -Scope Process
@ -69,9 +69,7 @@ build_windows:
paths: paths:
- build/windows/runner/Release/ - build/windows/runner/Release/
name: "Binairies" name: "Binairies"
only: allow_failure: true
- main
- tags
build_android_debug: build_android_debug:
stage: coverage stage: coverage
@ -187,13 +185,12 @@ build_linux:
- sudo apt install clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev - sudo apt install clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev
- flutter config --enable-linux-desktop - flutter config --enable-linux-desktop
- flutter pub get - flutter pub get
- flutter build linux --release - flutter build linux --release -v
artifacts: artifacts:
when: on_success when: on_success
paths: paths:
- build/linux/release/bundle/ - build/linux/release/bundle/
only: allow_failure: true
- main
snap:edge: snap:edge:
stage: publish stage: publish
@ -217,6 +214,7 @@ snap:edge:
paths: paths:
- './*.snap' - './*.snap'
when: on_success when: on_success
allow_failure: true
snap:publish: snap:publish:
stage: publish stage: publish
@ -235,6 +233,7 @@ snap:publish:
when: on_success when: on_success
expire_in: 1 week expire_in: 1 week
needs: [] needs: []
allow_failure: true
update-dependencies: update-dependencies:
stage: coverage stage: coverage