Skip to content

Commit

Permalink
Try to fix x86_64 and aarch64 build pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
leaf-node committed Jan 26, 2025
1 parent 15a18ae commit 3900c2a
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/flutter_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ on:
jobs:
main:
runs-on: ${{ matrix.os }}
name: Build artefacts for Flathub on Linux, with arch ${{ matrix.os }}
name: Build artefacts on Linux-${{ matrix.bundle-arch }}, for Flatpak
strategy:
matrix:
include:
- os: ubuntu-24.04
arch: x64
bundle-arch: x86_64
- os: ubuntu-24.04-arm
arch: arm64
bundle-arch: aarch64
steps:
- name: Clone repository
uses: actions/checkout@v4
Expand All @@ -34,11 +38,12 @@ jobs:
flutter doctor --verbose
flutter pub get
flutter build linux --release
mv build/linux/${{ matrix.arch }}/release/bundle ./oav-bundle-linux-${{ matrix.arch }}
tar czf oav-bundle-linux-${{ matrix.arch }}.tar.gz oav-bundle-linux-${{ matrix.arch }}
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
oav-bundle-linux-${{ matrix.arch }}.tar.gz
mv build/linux/${{ matrix.arch }}/release/bundle ./oav-bundle-linux-${{ matrix.bundle-arch }}
tar czf oav-bundle-linux-${{ matrix.bundle-arch }}.tar.gz oav-bundle-linux-${{ matrix.bundle-arch }}
ls oav-bundle-linux-${{ matrix.bundle-arch }}.tar.gz
# - name: Release
# uses: softprops/action-gh-release@v2
# with:
# files: |
# oav-bundle-linux-${{ matrix.bundle-arch }}.tar.gz

0 comments on commit 3900c2a

Please sign in to comment.