forked from transmission-remote-gui/transgui
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Rocky8-based Docker image for Linux builds (#100)
- Loading branch information
1 parent
6a5f5a5
commit 3b92840
Showing
4 changed files
with
31 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -xe | ||
|
||
readonly build=$(git rev-list --abbrev-commit --max-count=1 HEAD) | ||
sed -i "s/@GIT_COMMIT@/$build/" buildinfo.pas | ||
|
||
pushd test | ||
lazbuild transguitest.lpi "--lazarusdir=${TRANSGUI_LAZARUS_DIR}" | ||
./units/transguitest -a | ||
popd | ||
|
||
lazbuild transgui.lpi --ws=qt5 --build-mode=Release "--lazarusdir=${TRANSGUI_LAZARUS_DIR}" | ||
cd units | ||
|
||
readonly app_ver=$(xmllint --xpath 'string(//StringTable/@ProductVersion)' ../transgui.lpi) | ||
LINUXDEPLOY_OUTPUT_VERSION=$app_ver linuxdeploy-x86_64.AppImage \ | ||
-e transgui --create-desktop-file --appdir AppDir \ | ||
--output appimage -i ../transgui.png --plugin qt | ||
sha256sum transgui-${app_ver}-x86_64.AppImage | ||
mv transgui-${app_ver}-x86_64.AppImage transgui-x86_64.AppImage |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters