Files
Prod/.gitea/workflows/build.yaml
Phani Pavan K 32a6d1a506
Some checks failed
Build CI / Build (push) Failing after 41s
fixv3
2026-02-08 11:42:37 +05:30

48 lines
1.1 KiB
YAML

name: Build CI
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
channel: master
- uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ gitea.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Install Framework Dependencies
run: |
# sudo dpkg --add-architecture amd64
sudo apt-get update -y
sudo apt install -y ninja-build libgtk-3-dev gcc-x86_64-linux-gnu g++-x86-64-linux-gnu libgtk-3-dev:amd64 cmake
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
channel: master
flutter-version: 3.38.9
- name: Get Project Dependencies
run: flutter pub get
# - name: Analyze project
# run: flutter analyze
# - name: Test project
# run: flutter test
- name: Build x64
run: flutter build linux --target-platform linux-x64
- name: Build arm64
run: flutter build linux --target-platform linux-arm64