chore: Use Famedly Runners

This commit is contained in:
Krille 2022-12-17 07:08:51 +00:00
parent 0006344ff2
commit 2548138a0d

View File

@ -20,10 +20,16 @@ code_analyze:
artifacts: artifacts:
reports: reports:
codequality: code-quality-report.json codequality: code-quality-report.json
tags:
- docker
- famedly
widget_test: widget_test:
stage: test stage: test
script: [flutter test] script: [flutter test]
tags:
- docker
- famedly
# the basic integration test configuration testing FLOSS builds on Synapse # the basic integration test configuration testing FLOSS builds on Synapse
.integration_test: .integration_test:
@ -62,6 +68,9 @@ widget_test:
- flutter pub get - flutter pub get
- flutter test integration_test - flutter test integration_test
timeout: 20m timeout: 20m
tags:
- docker
- famedly
# integration tests for Linux builds # integration tests for Linux builds
@ -99,6 +108,9 @@ widget_test:
# generate temporary release build configuration and ensure app launches # generate temporary release build configuration and ensure app launches
- scripts/integration-check-release-build.sh - scripts/integration-check-release-build.sh
timeout: 20m timeout: 20m
tags:
- docker
- famedly
build_web: build_web:
stage: build stage: build
@ -108,6 +120,9 @@ build_web:
artifacts: artifacts:
paths: paths:
- build/web/ - build/web/
tags:
- docker
- famedly
build_windows: build_windows:
extends: extends:
@ -133,6 +148,9 @@ build_android_debug:
except: except:
- main - main
- tags - tags
tags:
- docker
- famedly
build_android_apk: build_android_apk:
stage: build stage: build
@ -162,6 +180,9 @@ deploy_playstore_internal:
paths: paths:
- build/android/app-release.aab - build/android/app-release.aab
resource_group: playstore_release resource_group: playstore_release
tags:
- docker
- famedly
only: only:
- main - main
@ -180,6 +201,9 @@ fdroid_repo:
needs: needs:
- "build_android_apk" - "build_android_apk"
resource_group: playstore_release resource_group: playstore_release
tags:
- docker
- famedly
allow_failure: true allow_failure: true
only: only:
- main - main
@ -218,6 +242,9 @@ build_linux_x86:
sudo apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install keyboard-configuration -y && sudo apt-get install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 -y, sudo apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install keyboard-configuration -y && sudo apt-get install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 -y,
] ]
script: [./scripts/build-linux.sh] script: [./scripts/build-linux.sh]
tags:
- docker
- famedly
artifacts: artifacts:
when: on_success when: on_success
paths: paths:
@ -266,6 +293,9 @@ update_dependencies:
.release: .release:
stage: deploy stage: deploy
image: curlimages/curl:latest image: curlimages/curl:latest
tags:
- docker
- famedly
rules: rules:
- if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/' - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/'
- if: '$CI_COMMIT_TAG =~ /^rc\d+\.\d+\.\d+-\d+$/' - if: '$CI_COMMIT_TAG =~ /^rc\d+\.\d+\.\d+-\d+$/'