Skip to content

Commit

Permalink
Test build multiarch
Browse files Browse the repository at this point in the history
  • Loading branch information
davnotdev committed Jul 13, 2024
1 parent 02fe1c0 commit 9abf20e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions burrow-gtk/build-aux/build_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ "$BURROW_GTK_ROOT" != $(pwd) ]; then
fi

HOST_ARCHITECTURE=$(lscpu | grep Architecture | awk '{print $2}')
TARGET_ARCHITECTURE=""
TARGET_ARCHITECTURE="x86_64"

if [ "$HOST_ARCHITECTURE" == "x86_64" ]; then
wget "https://github.com/linuxdeploy/linuxdeploy/releases/download/$LINUXDEPLOY_VERSION/linuxdeploy-x86_64.AppImage" -o /dev/null -O /tmp/linuxdeploy
Expand All @@ -36,4 +36,4 @@ meson compile -C $BURROW_GTK_BUILD
DESTDIR=AppDir meson install -C $BURROW_GTK_BUILD
CARGO_FLAGS=$CARGO_FLAGS cargo b --$BURROW_BUILD_TYPE --manifest-path=../Cargo.toml
/tmp/linuxdeploy --appimage-extract-and-run --appdir $BURROW_GTK_BUILD/AppDir -e $BURROW_GTK_BUILD/../../target/$BURROW_BUILD_TYPE/burrow --output appimage
mv *.AppImage $BURROW_GTK_BUILD
mv *.AppImage $BURROW_GTK_BUILD/Burrow_${TARGET_ARCHITECTURE}

0 comments on commit 9abf20e

Please sign in to comment.