Skip to content

Add IOS support (#32) #42

Add IOS support (#32)

Add IOS support (#32) #42

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build_windows:
name: Windows Client
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- uses: subosito/flutter-action@v2
with:
channel: "stable"
cache: true
- run: git config --system core.longpaths true
- name: Flutter Pub Get
run: flutter pub get
working-directory: ./example
- name: Build for Windows
run: flutter build windows --verbose
working-directory: ./example
build_android:
name: Android Client
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- uses: subosito/flutter-action@v2.8.0
with:
channel: "stable"
cache: true
- run: flutter pub get
working-directory: ./example
- run: flutter build apk --verbose --split-per-abi
working-directory: ./example
- run: flutter build appbundle --verbose
working-directory: ./example
build_iOS:
name: iOS Client
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- uses: subosito/flutter-action@v2.8.0
with:
channel: "stable"
architecture: x64
cache: true
- run: flutter pub get
working-directory: ./example
- run: flutter build ios --verbose --release --no-codesign
working-directory: ./example
- run: flutter build ipa --verbose --release --no-codesign
working-directory: ./example
build_macOS:
name: macOS Client
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- uses: subosito/flutter-action@v2.8.0
with:
channel: "stable"
architecture: x64
cache: true
- run: flutter pub get
working-directory: ./example
- run: flutter build macos
working-directory: ./example
build_linux:
name: Linux Client
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- run: sudo apt-get update -y
- run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev mpv libmpv-dev dpkg-dev p7zip-full p7zip-rar
- uses: subosito/flutter-action@v2.8.0
with:
channel: "stable"
cache: true
- run: flutter pub get
working-directory: ./example
- run: flutter build linux --verbose
working-directory: ./example
build_web:
name: Web Client
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- uses: subosito/flutter-action@v2.8.0
with:
channel: "stable"
cache: true
- run: flutter pub get
working-directory: ./example
- run: flutter build web --verbose
working-directory: ./example