build: Also build for arm64 for linux releases

This commit is contained in:
Krille 2024-10-26 10:46:00 +02:00
commit 617744503d
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 17 additions and 14 deletions

View file

@ -61,8 +61,8 @@ jobs:
build_debug_linux:
strategy:
matrix:
os: [ubuntu-latest, self-hosted]
runs-on: ${{ matrix.os }}
arch: [ x64, arm64 ]
runs-on: ${{ matrix.arch == 'arm64' && 'self-hosted' || 'ubuntu-latest'}}
steps:
- uses: actions/checkout@v4
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
@ -73,7 +73,7 @@ jobs:
git clone --branch ${{ env.FLUTTER_VERSION }} https://github.com/flutter/flutter.git
./flutter/bin/flutter doctor
- run: ./flutter/bin/flutter pub get
- run: ./flutter/bin/flutter build linux
- run: ./flutter/bin/flutter build linux --target-platform linux-${{ matrix.arch }}
build_debug_ios:
runs-on: macos-latest