Skip to content

Fix push rule evaluation #11

Fix push rule evaluation

Fix push rule evaluation #11

Workflow file for this run

name: build
on: push
env:
PROJECT_PATH: commet
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup Flutter
uses: subosito/flutter-action@v2.8.0
with:
flutter-version: '3.13.5'
channel: 'stable'
- name: Configure Flutter
run: flutter config --enable-windows-desktop
- name: Code Generation
run: |
cd .\commet
dart run scripts/codegen.dart
- name: Build Windows App
run: |
cd .\commet
dart run scripts/build_release.dart --platform windows --version_tag ${{ github.event.release.tag_name || 'v0.0.0' }} --git_hash ${{ github.sha }}
build-android:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup Flutter
uses: subosito/flutter-action@v2.8.0
with:
flutter-version: '3.13.5'
channel: 'stable'
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 17
- name: Setup Tools
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libolm3 libmpv-dev mpv ffmpeg
- name: Code Generation
run: |
cd $PROJECT_PATH
dart run scripts/codegen.dart
- name: Build APK
run: |
cd $PROJECT_PATH
dart run scripts/build_release.dart --platform android --version_tag ${{ github.event.release.tag_name || 'v0.0.0' }} --git_hash ${{ github.sha }}
build-android-google-services:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup Flutter
uses: subosito/flutter-action@v2.8.0
with:
flutter-version: '3.13.5'
channel: 'stable'
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 17
- name: Setup Tools
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libolm3 libmpv-dev mpv ffmpeg
- name: Code Generation
run: |
cd $PROJECT_PATH
git apply scripts/apply_google_services.patch
dart run scripts/codegen.dart
- name: Build APK
run: |
cd $PROJECT_PATH
dart run scripts/build_release.dart --platform android --version_tag ${{ github.event.release.tag_name || 'v0.0.0' }} --git_hash ${{ github.sha }}
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup Flutter
uses: subosito/flutter-action@v2.8.0
with:
flutter-version: '3.13.5'
channel: 'stable'
- name: Setup Tools
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libolm3 libmpv-dev mpv ffmpeg libmimalloc-dev
- name: Code Generation
run: |
cd $PROJECT_PATH
dart run scripts/codegen.dart
- name: Build Linux
run: |
cd $PROJECT_PATH
dart run scripts/build_release.dart --platform linux --version_tag ${{ github.event.release.tag_name || 'v0.0.0' }} --git_hash ${{ github.sha }} --build_detail debian
build-web:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup Flutter
uses: subosito/flutter-action@v2.8.0
with:
flutter-version: '3.13.5'
channel: 'stable'
- name: Setup Tools
run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libolm3 libmpv-dev mpv ffmpeg
- name: Code Generation
run: |
cd $PROJECT_PATH
dart run scripts/codegen.dart
- name: Build Web
run: |
cd $PROJECT_PATH
dart run scripts/build_release.dart --platform web --version_tag ${{ github.event.release.tag_name || 'v0.0.0' }} --git_hash ${{ github.sha }}