This commit is contained in:
34
.gitea/workflows/build.yaml
Normal file
34
.gitea/workflows/build.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
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
|
||||||
Reference in New Issue
Block a user