mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-31 20:51:12 -06:00
app image builder feature (#86)
* deps/wxWidgets: Disable EGL for wxGLCanvas To work around <https://github.com/supermerill/SuperSlicer/issues/1093>. * Fix USE_GLCANVAS_EGL=OFF for only Linux Builds * Add -r flag to BuildLinux.sh to skip ram check * Add support for AppImage build in containers. * Add GitHub Action Workflow to Build AppImage * Update AppImage-Builder to use upload-artifact v3 Co-authored-by: Zhaofeng Li <hello@zhaofeng.li>
This commit is contained in:
parent
4803c35b76
commit
af44269767
4 changed files with 54 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ function check_available_memory_and_disk() {
|
|||
}
|
||||
|
||||
unset name
|
||||
while getopts ":dsiuhgb" opt; do
|
||||
while getopts ":dsiuhgbr" opt; do
|
||||
case ${opt} in
|
||||
u )
|
||||
UPDATE_LIB="1"
|
||||
|
|
@ -48,6 +48,9 @@ while getopts ":dsiuhgb" opt; do
|
|||
g )
|
||||
FOUND_GTK3=""
|
||||
;;
|
||||
r )
|
||||
SKIP_RAM_CHECK="1"
|
||||
;;
|
||||
h ) echo "Usage: ./BuildLinux.sh [-i][-u][-d][-s][-b][-g]"
|
||||
echo " -i: Generate appimage (optional)"
|
||||
echo " -g: force gtk2 build"
|
||||
|
|
@ -55,6 +58,7 @@ while getopts ":dsiuhgb" opt; do
|
|||
echo " -d: build deps (optional)"
|
||||
echo " -s: build bambu-studio (optional)"
|
||||
echo " -u: only update clock & dependency packets (optional and need sudo)"
|
||||
echo " -r: skip free ram check (low ram compiling)"
|
||||
echo "For a first use, you want to 'sudo ./BuildLinux.sh -u'"
|
||||
echo " and then './BuildLinux.sh -dsi'"
|
||||
exit 0
|
||||
|
|
@ -71,6 +75,7 @@ then
|
|||
echo " -d: build deps (optional)"
|
||||
echo " -s: build bambu-studio (optional)"
|
||||
echo " -u: only update clock & dependency packets (optional and need sudo)"
|
||||
echo " -r: skip free ram check (low ram compiling)"
|
||||
echo "For a first use, you want to 'sudo ./BuildLinux.sh -u'"
|
||||
echo " and then './BuildLinux.sh -dsi'"
|
||||
exit 0
|
||||
|
|
@ -153,7 +158,10 @@ then
|
|||
mkdir deps/build
|
||||
fi
|
||||
|
||||
if ! [[ -n "$SKIP_RAM_CHECK" ]]
|
||||
then
|
||||
check_available_memory_and_disk
|
||||
fi
|
||||
|
||||
if [[ -n "$BUILD_DEPS" ]]
|
||||
then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue