OpenMediacenterMobileFlutter/.gitlab-ci.yml
lukas-heiligenbrunner 5fc77b4abb linux build
cache previews in sqlite db
actor page
outsouce different players in seperate classes
2022-08-28 22:51:12 +02:00

39 lines
837 B
YAML

image: cirrusci/flutter
stages:
- build
flutter_build_android: #Job name
stage: build # kind of job
before_script:
- flutter packages get
- flutter clean
script:
- flutter build apk --target-platform android-arm64
artifacts:
paths:
- build/app/outputs/apk/release/app-release.apk
linux_build:
stage: build
script:
- apt-get update
- apt-get install -y --no-install-recommends cmake ninja-build clang build-essential pkg-config libgtk-3-dev liblzma-dev lcov
- flutter config --enable-linux-desktop
- flutter packages get
- flutter build linux
artifacts:
paths:
- build/linux/x64/release/bundle/*
flutter_lint:
stage: build
script:
- flutter format . --output none --set-exit-if-changed
flutter_analyze:
stage: build
script:
- flutter analyze ./lib