Skip to content

Commit

Permalink
build: Build on rpi for linux arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Oct 26, 2024
1 parent d7c2d1b commit 3420c8a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,21 @@ jobs:
- run: flutter build web

build_debug_linux:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, self-hosted]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
- uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.FLUTTER_VERSION }}
cache: true
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 libssl-dev -y
- run: flutter pub get
- run: flutter build linux --target-platform linux-x64
run: sudo apt-get update && sudo apt-get install git wget curl clang cmake ninja-build pkg-config libgtk-3-dev libblkid-dev liblzma-dev libjsoncpp-dev cmake-data libsecret-1-dev libsecret-1-0 librhash0 libssl-dev libwebkit2gtk-4.1-dev -y
- name: Install Flutter
run: |
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

build_debug_ios:
runs-on: macos-latest
Expand Down
7 changes: 4 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1238,9 +1238,10 @@ packages:
matrix:
dependency: "direct main"
description:
path: "../matrix-dart-sdk"
relative: true
source: path
name: matrix
sha256: e06783394db3a49dbcd98a45803cac7d735a2fb1e3aafef65ddf01e72e16fc83
url: "https://pub.dev"
source: hosted
version: "0.34.0"
meta:
dependency: transitive
Expand Down
1 change: 1 addition & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ parts:
- libsecret-1-dev
- libjsoncpp-dev
- libssl-dev
- libwebkit2gtk-4.1-dev

slots:
dbus-svc:
Expand Down

0 comments on commit 3420c8a

Please sign in to comment.