123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- name: Build (Linux, Mac OS, Windows)
- on:
- push:
- branches: [main]
- pull_request:
- branches: [main]
- jobs:
- build-linux:
- name: "Build Linux"
- runs-on: ubuntu-latest
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- steps:
- - uses: actions/checkout@v2.3.4
- - name: Setup Flutter SDK
- uses: subosito/flutter-action@v1.5.3
- with:
- channel: "stable"
- flutter-version: "3.0.5"
- - name: Install Linux build tools
- run: sudo apt-get update && sudo apt-get install clang cmake ninja-build pkg-config libgtk-3-dev
- - name: Enable desktop
- run: flutter config --enable-linux-desktop
- - name: Get packages
- run: flutter pub get
- - name: Analyze
- run: flutter analyze
- - name: Flutter build app
- run: flutter build linux
-
- build-macos:
- name: "Build MacOS"
- runs-on: macos-latest
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- steps:
- - uses: actions/checkout@v2.3.4
- - name: Setup Flutter SDK
- uses: subosito/flutter-action@v1.5.3
- with:
- channel: "stable"
- flutter-version: "3.0.5"
- - name: Set Up XCode
- uses: devbotsxyz/xcode-select@v1.1.0
- - name: Enable desktop
- run: flutter config --enable-macos-desktop
- - name: Get packages
- run: flutter pub get
- - name: Analyze
- run: flutter analyze
- - name: Flutter build app
- run: flutter build macos
- build-windows:
- name: "Build Windows"
- runs-on: windows-latest
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- steps:
- - uses: actions/checkout@v2.3.4
- - name: Setup Flutter SDK
- uses: subosito/flutter-action@v1.5.3
- with:
- channel: "stable"
- flutter-version: "3.0.5"
- - name: Enable desktop
- run: flutter config --enable-windows-desktop
- - name: Get packages
- run: flutter pub get
- - name: Analyze
- run: flutter analyze
- - name: Flutter build app
- run: flutter build windows
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|