Merge pull request #1421 from krille-chan/krille/build-on-rpi
build: Build on rpi for linux arm64
This commit is contained in:
commit
85c4271fd1
3 changed files with 16 additions and 11 deletions
19
.github/workflows/integrate.yaml
vendored
19
.github/workflows/integrate.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -80,6 +80,7 @@ parts:
|
|||
- libsecret-1-dev
|
||||
- libjsoncpp-dev
|
||||
- libssl-dev
|
||||
- libwebkit2gtk-4.1-dev
|
||||
|
||||
slots:
|
||||
dbus-svc:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue