35 lines
717 B
YAML
35 lines
717 B
YAML
name: Build CI
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
channel: master
|
|
|
|
- name: Install deps
|
|
run: sudo apt-get update -y && sudo apt install -y ninja-build libgtk-3-dev
|
|
|
|
- name: Install Flutter
|
|
uses: subosito/flutter-action@v2
|
|
with:
|
|
channel: master
|
|
flutter-version-file: pubspec.yaml
|
|
|
|
- name: Get dependencies
|
|
run: flutter pub get
|
|
|
|
# - name: Analyze project
|
|
# run: flutter analyze
|
|
|
|
# - name: Test project
|
|
# run: flutter test
|
|
|
|
- name: Build Web Release
|
|
run: flutter build linux
|