Skip to content

release version 0.11.0 #127

release version 0.11.0

release version 0.11.0 #127

Workflow file for this run

name: Build Test App
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
build:
name: Build Flutter-Pi Bundle (${{ matrix.arch }}, ${{ matrix.cpu}})
runs-on: ubuntu-latest
strategy:
matrix:
arch:
- arm
- arm64
- x64
- riscv64
cpu:
- generic
include:
- arch: arm
cpu: pi3
- arch: arm
cpu: pi4
- arch: arm64
cpu: pi3
- arch: arm64
cpu: pi4
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
cache: true
channel: stable
flutter-version: 3.41.0
- name: Install dependencies & Activate as global executable
run: |
flutter pub get
flutter pub global activate -spath .
- name: Create test app
run: flutter create test_app
- name: Run flutterpi_tool build
working-directory: test_app
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
run: |
echo '::group::flutterpi_tool build ... --debug-unoptimized'
flutterpi_tool build --arch=${{ matrix.arch }} --cpu=${{ matrix.cpu }} --debug-unoptimized --debug-symbols --verbose
echo '::endgroup::'
echo '::group::flutterpi_tool build ... --debug'
flutterpi_tool build --arch=${{ matrix.arch }} --cpu=${{ matrix.cpu }} --debug --debug-symbols --verbose
echo '::endgroup::'
echo '::group::flutterpi_tool build ... --profile'
flutterpi_tool build --arch=${{ matrix.arch }} --cpu=${{ matrix.cpu }} --profile --debug-symbols --verbose
echo '::endgroup::'
echo '::group::flutterpi_tool build ... --release'
flutterpi_tool build --arch=${{ matrix.arch }} --cpu=${{ matrix.cpu }} --release --debug-symbols --verbose
echo '::endgroup::'