Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Muska-Ami committed Nov 12, 2023
2 parents 7115a7e + c25791b commit 485857f
Showing 1 changed file with 70 additions and 0 deletions.
70 changes: 70 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Build

on:
push:
branches: [ "main" ]

jobs:
build-windows:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'

- name: Install dependencies
run: flutter pub get
- name: Build Application
run: flutter build windows --release

- uses: actions/upload-artifact@v3
with:
name: Windows Artifact
path: build

build-linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'

- name: Install dependencies
run: |-
flutter pub get
sudo apt-get install clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev
- name: Build Application
run: flutter build linux --release

- uses: actions/upload-artifact@v3
with:
name: Linux Artifact
path: build

build-macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
channel: 'stable'

- name: Install dependencies
run: flutter pub get
- name: Build Application
run: flutter build macos --release

- uses: actions/upload-artifact@v3
with:
name: MacOS Artifact
path: build

0 comments on commit 485857f

Please sign in to comment.